Salome HOME
Roll back the modification, not yet approved
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SensitivePoint.h
index 31cad7bb22473e9ac0b8eb0bb23b3920e29b7d6b..033b81a0dabd7c8e1d18bd479d0fa23b45db7025 100644 (file)
@@ -8,7 +8,6 @@
 #define SketcherPrs_SensitivePoint_H
 
 #include <Select3D_SensitiveEntity.hxx>
-#include <Graphic3d_ArrayOfPoints.hxx>
 #include <Standard_DefineHandle.hxx>
 
 
@@ -24,8 +23,7 @@ class SketcherPrs_SensitivePoint : public Select3D_SensitiveEntity
 public: 
   //! Constructs a sensitive point object defined by the
   //! owner OwnerId and the point Point.
-  Standard_EXPORT SketcherPrs_SensitivePoint(const Handle(SelectBasics_EntityOwner)& OwnerId, 
-    const Handle(Graphic3d_ArrayOfPoints)& thePntArray, int theId);
+  Standard_EXPORT SketcherPrs_SensitivePoint(const Handle(SelectBasics_EntityOwner)& OwnerId, int theId);
   
   Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
 
@@ -47,13 +45,13 @@ public:
   //! Returns bounding box of the point. If location
   //! transformation is set, it will be applied
   Standard_EXPORT virtual Select3D_BndBox3d BoundingBox() Standard_OVERRIDE;
-  
+
+  Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
 
   DEFINE_STANDARD_RTTI(SketcherPrs_SensitivePoint)
 
 private: 
   int myId;
-  Handle(Graphic3d_ArrayOfPoints) myPntArray;
 };