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
virtual
Returns
True if the attribute is valid. It checks whether the selection is acceptable for fillet on wire (vertex is a sharp corner).
Parameters
[in]theAttributean attribute to check.
[in]theArgumentsa filter parameters.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.