Salome HOME
Task #3231: Sketcher Offset of a curve
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Factory.cpp
index 1c4187aaf73f966410419ee40ba577b937fb0eb4..59d73c0f808f80f0f4890aa49665b7429e922f5e 100644 (file)
@@ -33,6 +33,7 @@
 #include "SketcherPrs_Mirror.h"
 #include "SketcherPrs_Transformation.h"
 #include "SketcherPrs_Angle.h"
+#include "SketcherPrs_Offset.h"
 
 // Macros for constraint presentation definition
 #define CONSTRAINT_PRS_IMPL(NAME, CLASS) \
@@ -66,6 +67,7 @@ CONSTRAINT_PRS_IMPL(coincidentConstraint, SketcherPrs_Coincident);
 CONSTRAINT_PRS_IMPL(lengthDimensionConstraint, SketcherPrs_LengthDimension);
 CONSTRAINT_PRS_IMPL(angleConstraint, SketcherPrs_Angle);
 CONSTRAINT_PRS_IMPL(radiusConstraint, SketcherPrs_Radius);
+CONSTRAINT_PRS_IMPL(offsetObject, SketcherPrs_Offset);
 
 // Non-standard constraints definition
 AISObjectPtr SketcherPrs_Factory::horisontalConstraint(ModelAPI_Feature* theConstraint,