|
Open CASCADE Technology 6.5.2
|
sensitive Areas for an Arc Of Circle
One gives Radius and center,and limits.
or a geometric circle.
#include <Select2D_SensitiveArc.hxx>

Public Member Functions | |
| 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 \ / * | |
| void | Areas (SelectBasics_ListOfBox2d &aresul) |
| returns the sensitive areas for a circle... | |
| 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_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. | |
| Select2D_SensitiveArc::Select2D_SensitiveArc | ( | const Handle< SelectBasics_EntityOwner > & | OwnerId, |
| const gp_Ax2d & | OriginAxis, | ||
| const Standard_Real | Angle, | ||
| const Standard_Real | Radius, | ||
| const Standard_Integer | MaxPoints = 9 |
||
| ) |
| void Select2D_SensitiveArc::Areas | ( | SelectBasics_ListOfBox2d & | aresul | ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
| Standard_Boolean Select2D_SensitiveArc::Matches | ( | const Standard_Real | XMin, |
| const Standard_Real | YMin, | ||
| const Standard_Real | XMax, | ||
| const Standard_Real | YMax, | ||
| const Standard_Real | aTol | ||
| ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
| Standard_Boolean Select2D_SensitiveArc::Matches | ( | const Standard_Real | X, |
| const Standard_Real | Y, | ||
| const Standard_Real | aTol, | ||
| Standard_Real & | DMin | ||
| ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
1.7.4