Salome HOME
Coincidence correction concerning the next regression: line to be coincident to anoth...
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Factory.h
index 291484d3b491e53960406d4d28462de3e29db618..2f43622b04aaa398db891710f16a995ab0e18d76 100644 (file)
@@ -16,8 +16,8 @@
 
 #define GET_CONSTRAINT_PRS(NAME) \
   static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \
-                           const std::shared_ptr<GeomAPI_Ax3>& thePlane);
-
+                           const std::shared_ptr<GeomAPI_Ax3>& thePlane, \
+                           AISObjectPtr thePrevious);
 
 /**
 * Class which creates constraints presentations
@@ -30,6 +30,11 @@ public:
   /// \param thePlane the current sketch plane
   GET_CONSTRAINT_PRS(coincidentConstraint)
 
+  /// Creates collinear constraint presentation
+  /// \param theConstraint the constraint
+  /// \param thePlane the current sketch plane
+  GET_CONSTRAINT_PRS(collinearConstraint)
+
   /// Creates parallel constraint presentation
   /// \param theConstraint the constraint
   /// \param thePlane the current sketch plane
@@ -75,6 +80,11 @@ public:
   /// \param thePlane the current sketch plane
   GET_CONSTRAINT_PRS(lengthDimensionConstraint)
 
+  /// Creates middle constraint presentation
+  /// \param theConstraint the constraint
+  /// \param thePlane the current sketch plane
+  GET_CONSTRAINT_PRS(middleConstraint)
+
   /// Creates mirror constraint presentation
   /// \param theConstraint the constraint
   /// \param thePlane the current sketch plane
@@ -89,6 +99,11 @@ public:
   /// \param theConstraint the constraint
   /// \param thePlane the current sketch plane
   GET_CONSTRAINT_PRS(rotateConstraint)
+
+  /// Creates angle constraint presentation
+  /// \param theConstraint the constraint
+  /// \param thePlane the current sketch plane
+  GET_CONSTRAINT_PRS(angleConstraint)
 };
 
 #endif