Salome HOME
Using test for testing number of sub-shapes.
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SensitivePoint.h
index 000df1a4fed08076817643170735018073764da8..132140beef42639df3c68c4bc5b08342161c814e 100644 (file)
@@ -20,12 +20,13 @@ DEFINE_STANDARD_HANDLE(SketcherPrs_SensitivePoint, Select3D_SensitiveEntity)
 */
 class SketcherPrs_SensitivePoint : public Select3D_SensitiveEntity
 {
-public: 
+public:
   //! Constructs a sensitive point object defined by the
   //! \param OwnerId an Id of the Owner.
   //! \param theId and Id of its point
-  Standard_EXPORT SketcherPrs_SensitivePoint(const Handle(SelectBasics_EntityOwner)& OwnerId, int theId);
-  
+  Standard_EXPORT SketcherPrs_SensitivePoint(const Handle(SelectBasics_EntityOwner)& OwnerId,
+                                             int theId);
+
   /// Returns number of sub-elements
   Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
 
@@ -35,8 +36,8 @@ public:
   //! Checks whether the point overlaps current selecting volume
   //! \param theMgr selection manager
   //! \param thePickResult returns pick result
-  Standard_EXPORT virtual Standard_Boolean Matches (SelectBasics_SelectingVolumeManager& theMgr,
-                                                    SelectBasics_PickResult& thePickResult) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager& theMgr,
+                                     SelectBasics_PickResult& thePickResult) Standard_OVERRIDE;
 
   //! Returns the point used at the time of construction.
   Standard_EXPORT gp_Pnt Point() const;
@@ -52,9 +53,9 @@ public:
   /// Clear sub-elements
   Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
 
-  DEFINE_STANDARD_RTTI(SketcherPrs_SensitivePoint)
+  DEFINE_STANDARD_RTTIEXT(SketcherPrs_SensitivePoint, Select3D_SensitiveEntity)
 
-private: 
+private:
   int myId;
 };