]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_SymbolPrs.h
Salome HOME
Issue #2208: Development
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SymbolPrs.h
index a8b64d21e52d847f65ed413b512ef2be1c82e2b5..c1cf2b55477f6484125f61f95a70fc8ee7d4cf0d 100644 (file)
@@ -24,6 +24,7 @@
 #include "SketcherPrs_SensitivePoint.h"
 #include <ModelAPI_Feature.h>
 #include <ModelAPI_AttributeRefList.h>
+#include <ModelAPI_CompositeFeature.h>
 
 #include <AIS_InteractiveObject.hxx>
 #include <GeomAPI_Ax3.h>
@@ -76,6 +77,9 @@ public:
   /// Returns feature object
   Standard_EXPORT ModelAPI_Feature* feature() const { return myConstraint; }
 
+  /// Returns Sketcher object (owner of the constraint)
+  Standard_EXPORT CompositeFeaturePtr sketcher() const;
+
   /// Return array of points where symbols will be placed
   const Handle(Graphic3d_ArrayOfPoints)& pointsArray() const { return myPntArray; }