SHAPER  9.12.0
SketchPlugin_CirclePassedPointValidator Class Reference

Validator for passed point of MacroCircle feature. More...

Inheritance diagram for SketchPlugin_CirclePassedPointValidator:
Inheritance graph

Public Member Functions

virtual bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &, Events_InfoMessage &theError) const
 returns true if attribute is valid More...
 

Detailed Description

Validator for passed point of MacroCircle feature.

Checks that passed point does not refer to the feature, the center is coincident to.

Member Function Documentation

◆ isValid()

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

returns true if attribute is valid

Parameters
theAttributethe checked attribute
theArgumentsarguments of the attribute
theErrorerror message

Implements ModelAPI_AttributeValidator.