X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Coincident.h;h=5aaf5d63589530db34843fe57517504a01cd1020;hb=d3883990177d27a12b8a2278cdbb82250ff19b79;hp=9b9c4cd8acc347825b1e22fef1aebac86e6b6a7f;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Coincident.h b/src/SketcherPrs/SketcherPrs_Coincident.h index 9b9c4cd8a..5aaf5d635 100644 --- a/src/SketcherPrs/SketcherPrs_Coincident.h +++ b/src/SketcherPrs/SketcherPrs_Coincident.h @@ -8,12 +8,11 @@ #define SketcherPrs_Coincident_H #include +#include #include #include -class SketchPlugin_Constraint; - DEFINE_STANDARD_HANDLE(SketcherPrs_Coincident, AIS_InteractiveObject) @@ -27,7 +26,7 @@ class SketcherPrs_Coincident: public AIS_InteractiveObject public: /// Constructor /// \param theResult a result object - Standard_EXPORT SketcherPrs_Coincident(SketchPlugin_Constraint* theConstraint, + Standard_EXPORT SketcherPrs_Coincident(ModelAPI_Feature* theConstraint, const std::shared_ptr& thePlane); Standard_EXPORT virtual void SetColor(const Quantity_Color& aColor); @@ -45,8 +44,9 @@ protected: const Standard_Integer aMode) ; private: - SketchPlugin_Constraint* myConstraint; + ModelAPI_Feature* myConstraint; std::shared_ptr myPlane; + gp_Pnt myPoint; };