|
Open CASCADE Technology 6.5.2
|
A framework to define sensitive Areas for a Circle
Radius and center, or a geometric circle is given.
#include <Select2D_SensitiveCircle.hxx>

Public Member Functions | |
| Select2D_SensitiveCircle (const Handle< SelectBasics_EntityOwner > &OwnerId, const gp_Circ2d &TheCirc, const Select2D_TypeOfSelection TheType=Select2D_TOS_BOUNDARY) | |
| Constructs a sensitive circle object defined by the owner OwnerId, the circle Circle, and the selection type Type. Type can be: | |
| 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. | |
| const gp_Circ2d & | Circle () const |
| Returns the circle used at the time of construction of this object. | |
| void | SetTypeOfSelection (const Select2D_TypeOfSelection aType) |
| Sets the selection type. | |
| Select2D_TypeOfSelection | Selection () |
| Returns the selection type used at the time of construction of this object. | |
| Select2D_SensitiveCircle::Select2D_SensitiveCircle | ( | const Handle< SelectBasics_EntityOwner > & | OwnerId, |
| const gp_Circ2d & | TheCirc, | ||
| const Select2D_TypeOfSelection | TheType = Select2D_TOS_BOUNDARY |
||
| ) |
| void Select2D_SensitiveCircle::Areas | ( | SelectBasics_ListOfBox2d & | aresul | ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
| const gp_Circ2d& Select2D_SensitiveCircle::Circle | ( | ) | const |
| Standard_Boolean Select2D_SensitiveCircle::Matches | ( | const Standard_Real | X, |
| const Standard_Real | Y, | ||
| const Standard_Real | aTol, | ||
| Standard_Real & | DMin | ||
| ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
| Standard_Boolean Select2D_SensitiveCircle::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.
| Select2D_TypeOfSelection Select2D_SensitiveCircle::Selection | ( | ) |
| void Select2D_SensitiveCircle::SetTypeOfSelection | ( | const Select2D_TypeOfSelection | aType | ) |
1.7.4