SHAPER  9.12.0
FeaturesPlugin_ValidatorFillet1DSelection Class Reference

Validates selection for 1d-fillet operation. More...

Inheritance diagram for FeaturesPlugin_ValidatorFillet1DSelection:
Inheritance graph

Public Member Functions

virtual bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const

Detailed Description

Validates selection for 1d-fillet operation.

Member Function Documentation

◆ isValid()

bool FeaturesPlugin_ValidatorFillet1DSelection::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
True if the attribute is valid. It checks whether the selection is acceptable for fillet on wire (vertex is a sharp corner).
[in]theAttributean attribute to check.
[in]theArgumentsa filter parameters.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.