SHAPER  9.13.0
SketcherPrs_SensitivePoint Class Reference

This sensitive point is done in order to optimize process of the sinzitive area update It referes on point array directly and this lets to avoid procedure of the point synchronisation. More...

Inheritance diagram for SketcherPrs_SensitivePoint:
Inheritance graph

Public Member Functions

 SketcherPrs_SensitivePoint (const Handle &&OwnerId, int theId)
 Constructs a sensitive point object defined by the. More...
 
virtual Standard_Integer NbSubElements () Standard_OVERRIDE
 Returns number of sub-elements. More...
 
virtual HandleGGetConnected () Standard_OVERRIDE
 Update location of the point. More...
 
virtual Standard_Boolean Matches (SelectBasics_SelectingVolumeManager &theMgr, SelectBasics_PickResult &thePickResult) Standard_OVERRIDE
 Checks whether the point overlaps current selecting volume. More...
 
gp_Pnt Point () const
 Returns the point used at the time of construction. More...
 
virtual gp_Pnt CenterOfGeometry () const Standard_OVERRIDE
 Returns center of point. More...
 
virtual Select3D_BndBox3d BoundingBox () Standard_OVERRIDE
 Returns bounding box of the point. More...
 
virtual void Clear () Standard_OVERRIDE
 Clear sub-elements. More...
 

Detailed Description

This sensitive point is done in order to optimize process of the sinzitive area update It referes on point array directly and this lets to avoid procedure of the point synchronisation.

Constructor & Destructor Documentation

◆ SketcherPrs_SensitivePoint()

SketcherPrs_SensitivePoint::SketcherPrs_SensitivePoint ( const Handle &&  OwnerId,
int  theId 
)

Constructs a sensitive point object defined by the.

Parameters
OwnerIdan Id of the Owner.
theIdand Id of its point

Member Function Documentation

◆ NbSubElements()

Standard_Integer SketcherPrs_SensitivePoint::NbSubElements ( )
virtual

Returns number of sub-elements.

◆ HandleGGetConnected()

virtual SketcherPrs_SensitivePoint::HandleGGetConnected ( )
virtual

Update location of the point.

◆ Matches()

Standard_Boolean SketcherPrs_SensitivePoint::Matches ( SelectBasics_SelectingVolumeManager &  theMgr,
SelectBasics_PickResult &  thePickResult 
)
virtual

Checks whether the point overlaps current selecting volume.

Parameters
theMgrselection manager
thePickResultreturns pick result

◆ Point()

gp_Pnt SketcherPrs_SensitivePoint::Point ( ) const

Returns the point used at the time of construction.

◆ CenterOfGeometry()

gp_Pnt SketcherPrs_SensitivePoint::CenterOfGeometry ( ) const
virtual

Returns center of point.

If location transformation is set, it will be applied

◆ BoundingBox()

Select3D_BndBox3d SketcherPrs_SensitivePoint::BoundingBox ( )
virtual

Returns bounding box of the point.

If location transformation is set, it will be applied

◆ Clear()

void SketcherPrs_SensitivePoint::Clear ( )
virtual

Clear sub-elements.