|
SHAPER
9.15.0
|
Validator for the point for fillet creation. More...

Public Member Functions | |
| virtual bool | isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
| returns true if attribute is valid More... | |
Static Public Member Functions | |
| static bool | isValidVertex (const AttributePtr &theAttribute, Events_InfoMessage &theError, FeaturePtr &theEdge1, FeaturePtr &theEdge2) |
| returns true if attribute is a good point for fillet More... | |
Validator for the point for fillet creation.
Checks that selected point have exactly two coincident lines.
|
virtual |
returns true if attribute is valid
| theAttribute | the checked attribute |
| theArguments | arguments of the attribute (not used) |
| theError | error message |
Implements ModelAPI_AttributeValidator.
|
static |
returns true if attribute is a good point for fillet
| theAttribute | the checked point attribute |
| theError | error message |
| theEdge1 | adjacent edge feature |
| theEdge2 | adjacent edge feature |