SHAPER  9.12.0
SketchPlugin_ArcTransversalPointValidator Class Reference

Validator for the point where the transversal arc is building. More...

Inheritance diagram for SketchPlugin_ArcTransversalPointValidator:
Inheritance graph

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...
 

Detailed Description

Validator for the point where the transversal arc is building.

Checks that the point is a start or end point just on line or arc.

Member Function Documentation

◆ isValid()

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

returns true if attribute is valid

Parameters
theAttributethe checked attribute
theArgumentsarguments of the attribute
theErrorerror message

Implements ModelAPI_AttributeValidator.