SHAPER
9.13.0
|
A validator for extrusion direction attribute. More...
Public Member Functions | |
virtual bool | isValid (const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
virtual bool | isNotObligatory (std::string theFeature, std::string theAttribute) |
Returns true if the attribute in feature is not obligatory for the feature execution. More... | |
A validator for extrusion direction attribute.
Allows it to be empty if base objects are planar and do not contain vertices and edges.
|
virtual |
[in] | theFeature | the checked feature. |
[in] | theArguments | arguments of the attribute. |
[out] | theError | error message. |
Implements ModelAPI_FeatureValidator.
|
virtualinherited |
Returns true if the attribute in feature is not obligatory for the feature execution.
Returns false by default.
Reimplemented in SketchPlugin_SolverErrorValidator, Model_FeatureValidator, GeomValidators_ZeroOffset, GeomValidators_NotSelfIntersected, GeomValidators_Different, FeaturesPlugin_ValidatorBooleanCommonArguments, FeaturesPlugin_ValidatorBooleanFuseArguments, and FeaturesPlugin_ValidatorBooleanArguments.