#include <Select2D_SensitiveBox.hxx>
Inheritance diagram for Select2D_SensitiveBox:
Public Member Functions | |
Standard_EXPORT | Select2D_SensitiveBox (const Handle(SelectBasics_EntityOwner)&OwnerId, const gp_Pnt2d &Center, const Standard_Real Height, const Standard_Real Width, const Select2D_TypeOfSelection Type=Select2D_TOS_INTERIOR) |
Constructs a sensitive box object defined by the owner OwnerId, the center point Center, the height Height, the width Width, and the selection type Type. Type can be: - interior - boundary. . | |
Standard_EXPORT | Select2D_SensitiveBox (const Handle(SelectBasics_EntityOwner)&OwnerId, const Standard_Real Xmin, const Standard_Real YMin, const Standard_Real XMax, const Standard_Real YMax, const Select2D_TypeOfSelection Type=Select2D_TOS_INTERIOR) |
Constructs a sensitive box object defined by the owner OwnerId, the coordinates Xmin, YMin, XMax, YMax, and the selection type Type. Xmin, YMin define the minimum point in the lower left hand corner of the box, and XMax, YMax define the maximum point in the upper right hand corner of the box. Type can be: - interior - boundary. . | |
Standard_EXPORT void | Areas (SelectBasics_ListOfBox2d &aresul) |
to be implemented specifically by each type of sensitive primitive . | |
Standard_EXPORT Standard_Boolean | Matches (const Standard_Real X, const Standard_Real Y, const Standard_Real aTol, Standard_Real &DMin) |
returns True if the object is very close to the sensitive areas it gave to the selector... returns the minimum distance found if no match; to be implemented specifically by each type of sensitive primitive . | |
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 | |
Bnd_Box2d | mybox |
Select2D_TypeOfSelection | mytype |
|
|
|
|
|
Implements SelectBasics_SensitiveEntity. |
|
Reimplemented from Select2D_SensitiveEntity. |
|
Implements SelectBasics_SensitiveEntity. |
|
Implements SelectBasics_SensitiveEntity. |
|
|
|
|