Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Select2D_SensitiveBox Class Reference

defines a Sensitive Box (inside or boundary)

#include <Select2D_SensitiveBox.hxx>

Inheritance diagram for Select2D_SensitiveBox:
Inheritance graph
[legend]

Public Member Functions

 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:

 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:

void Areas (SelectBasics_ListOfBox2d &aresul)
 to be implemented specifically by each type of
sensitive primitive .


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_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.


Constructor & Destructor Documentation

  • interior
  • boundary.
  • interior
  • boundary.

Member Function Documentation


The documentation for this class was generated from the following file: