#include <Select2D_SensitivePoint.hxx>
Inheritance diagram for Select2D_SensitivePoint:
Public Member Functions | |
Standard_EXPORT | Select2D_SensitivePoint (const Handle(SelectBasics_EntityOwner)&OwnerId, const gp_Pnt2d &Location, const Standard_Real InitSensitivity=0) |
Constructs the sensitive point object defined by the owner OwnerId, the point Location and the sensitivity InitSensitivity. InitSensitivity allows choice of dimensions in the selectable box around the sensitive point. It is initialized with a null value, and is given a working one by Set. . | |
Standard_EXPORT void | Set (const Standard_Real aSensitivity) |
Sets the sensitivity aSensitivity for sensitive primitives to find owners of points. . | |
Standard_EXPORT void | Areas (SelectBasics_ListOfBox2d &aresul) |
Returns the 2Dbox around the point (this box) has to be enlarged (sensitivity = 0) . | |
const gp_Pnt2d & | Location () const |
returns the original point. | |
Standard_EXPORT Standard_Boolean | Matches (const Standard_Real X, const Standard_Real Y, const Standard_Real aTol, Standard_Real &DMin) |
if distance between P | |
Standard_EXPORT Standard_Boolean | Matches (const Standard_Real XMin, const Standard_Real YMin, const Standard_Real XMax, const Standard_Real YMax, const Standard_Real aTol) |
returns True if the box (Xmin,YMin)------(Xmax,Ymax) contains the SensitiveEntity. Necessary for selection using elastic boxes,or segments. | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
gp_Pnt2d | mylocation |
Standard_Real | mysensitivity |
|
|
|
Implements SelectBasics_SensitiveEntity. |
|
Reimplemented from Select2D_SensitiveEntity. |
|
|
|
Implements SelectBasics_SensitiveEntity. |
|
Implements SelectBasics_SensitiveEntity. |
|
|
|
|
|
|