SHAPER  9.12.0
GeomValidators_NotSelfIntersected Class Reference

Validates that selected shapes are not self intersected. More...

Inheritance diagram for GeomValidators_NotSelfIntersected:
Inheritance graph

Public Member Functions

virtual GEOMVALIDATORS_EXPORT bool isValid (const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
virtual GEOMVALIDATORS_EXPORT bool isNotObligatory (std::string theFeature, std::string theAttribute)

Detailed Description

Validates that selected shapes are not self intersected.

Member Function Documentation

◆ isValid()

bool GeomValidators_NotSelfIntersected::isValid ( const std::shared_ptr< ModelAPI_Feature > &  theFeature,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
True if the attribute is valid. It checks whether the selection is not self intersected.
[in]theAttributean attribute to check.
[in]theArgumentsa filter parameters.
[out]theErrorerror message.

Implements ModelAPI_FeatureValidator.

◆ isNotObligatory()

bool GeomValidators_NotSelfIntersected::isNotObligatory ( std::string  theFeature,
std::string  theAttribute 
true if the attribute in feature is not obligatory for the feature execution.

Reimplemented from ModelAPI_FeatureValidator.