SHAPER  9.12.0
GeomValidators_Intersected Class Reference

Validates that selected shapes are intersected. More...

Inheritance diagram for GeomValidators_Intersected:
Inheritance graph

Public Member Functions

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

Detailed Description

Validates that selected shapes are intersected.

Member Function Documentation

◆ isValid()

bool GeomValidators_Intersected::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
True if the attribute is valid. It checks whether the selection is intersected with shape given as a name of attribute.
[in]theAttributean attribute to check.
[in]theArgumentsa filter parameters.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.