20 #ifndef GeomValidators_NotSelfIntersected_H
21 #define GeomValidators_NotSelfIntersected_H
23 #include <GeomValidators.h>
25 #include <ModelAPI_Feature.h>
26 #include <ModelAPI_FeatureValidator.h>
39 GEOMVALIDATORS_EXPORT
virtual bool isValid(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
40 const std::list<std::string>& theArguments,
44 GEOMVALIDATORS_EXPORT
virtual bool isNotObligatory(std::string theFeature,
45 std::string theAttribute);
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
Validates that selected shapes are not self intersected.
Definition: GeomValidators_NotSelfIntersected.h:32
virtual GEOMVALIDATORS_EXPORT bool isNotObligatory(std::string theFeature, std::string theAttribute)
Definition: GeomValidators_NotSelfIntersected.cpp:100
virtual GEOMVALIDATORS_EXPORT bool isValid(const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Definition: GeomValidators_NotSelfIntersected.cpp:30
The geneneric validator for the whole feature.
Definition: ModelAPI_FeatureValidator.h:35