20 #ifndef SketchPlugin_OverConstraintsResolver_H_
21 #define SketchPlugin_OverConstraintsResolver_H_
23 #include "SketchPlugin.h"
25 #include <Events_Listener.h>
27 #include <ModelAPI_Object.h>
37 void processEvent(
const std::shared_ptr<Events_Message>& theMessage);
55 std::set<ObjectPtr> myConstraints;
56 std::set<ObjectPtr> myConstraintsToRemove;
Base interface for any event listener.
Definition: Events_Listener.h:37
Definition: SketchPlugin_OverConstraintsResolver.h:32
virtual bool groupMessages()
Listener that needs mostly grouped messages received returns true in this method.
Definition: SketchPlugin_OverConstraintsResolver.h:39
void setConstraints(const std::set< ObjectPtr > &theConstraints)
Set set of constraints to check.
Definition: SketchPlugin_OverConstraintsResolver.cpp:45
bool checkHorizontalOrVerticalConflict()
Check lines in sketch about horizontal or vertical conflict.
Definition: SketchPlugin_OverConstraintsResolver.cpp:59
bool perform()
Perform algorithm.
Definition: SketchPlugin_OverConstraintsResolver.cpp:51
void processEvent(const std::shared_ptr< Events_Message > &theMessage)
Redefinition of Events_Listener method.
Definition: SketchPlugin_OverConstraintsResolver.cpp:166
bool checkArcsAboutTangentialConflict()
Check arcs in sketch about tangential conflict.
Definition: SketchPlugin_OverConstraintsResolver.cpp:83