#include <Select2D_SensitiveArc.hxx>
Inheritance diagram for Select2D_SensitiveArc:
Public Member Functions | |
Standard_EXPORT | Select2D_SensitiveArc (const Handle(SelectBasics_EntityOwner)&OwnerId, const gp_Ax2d &OriginAxis, const Standard_Real Angle, const Standard_Real Radius, const Standard_Integer MaxPoints=9) |
Constructs a 2D sensitive arc object defined by the owner OwnerId, the axis of origin OriginAxis, the angle Angle, the radius Radius, and the maximum number of points MaxPoints. _. \ angle /| / \ / direction \ / * . | |
Standard_EXPORT void | Areas (SelectBasics_ListOfBox2d &aresul) |
returns the sensitive areas for a circle... | |
Standard_EXPORT Standard_Boolean | Matches (const Standard_Real X, const Standard_Real Y, const Standard_Real aTol, Standard_Real &DMin) |
returns true if the minimum distance DMin between the postion x,y and the circle is less than aTol.. | |
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 | |
Standard_Real | myradius |
gp_Ax2d | myax2d |
Standard_Real | myangle |
Standard_Integer | mynbpt |
|
|
|
Implements SelectBasics_SensitiveEntity. |
|
Reimplemented from Select2D_SensitiveEntity. |
|
Implements SelectBasics_SensitiveEntity. |
|
Implements SelectBasics_SensitiveEntity. |
|
|
|
|
|
|
|
|