Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
Select3D_SensitivePoly Class Reference

Sensitive Entity to make a face selectable.
In some cases this class can raise Standard_ConstructionError and
Standard_OutOfRange exceptions from its member Select3D_PointData
mypolyg.

#include <Select3D_SensitivePoly.hxx>

Inheritance diagram for Select3D_SensitivePoly:
Inheritance graph
[legend]

Public Member Functions

virtual void Project (const Handle< Select3D_Projector > &aProjector)
 projection of the sensitive primitive in order to
get 2D boxes for the Sort Algorithm

void Areas (SelectBasics_ListOfBox2d &boxes)
 stores in <boxes> the 2D Boxes which represent the sensitive face
in the selection algorithm.

void Points3D (Handle< TColgp_HArray1OfPnt > &theHArrayOfPnt)
 Returns the 3D points of the array used at construction time.

void Points2D (TColgp_Array1OfPnt2d &theArrayOfPnt2d)
 Returns the 2D points of the array used at construction time.

Protected Member Functions

 Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const TColgp_Array1OfPnt &ThePoints)
 Constructs a sensitive face object defined by the
owner OwnerId, the array of points ThePoints, and
the sensitivity type Sensitivity.
The array of points is the outer polygon of the geometric face.

 Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const Handle< TColgp_HArray1OfPnt > &ThePoints)
 Constructs a sensitive face object defined by the
owner OwnerId, the array of points ThePoints, and
the sensitivity type Sensitivity.
The array of points is the outer polygon of the geometric face.

 Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const Standard_Integer NbOfPoints=6)
 Constructs the sensitive circle object defined by the
owner OwnerId, the circle Circle, the Boolean
FilledCircle and the number of points NbOfPoints.

Protected Attributes

Select3D_Box2d mybox2d
Select3D_PointData mypolyg

Constructor & Destructor Documentation

Select3D_SensitivePoly::Select3D_SensitivePoly ( const Handle< SelectBasics_EntityOwner > &  OwnerId,
const TColgp_Array1OfPnt ThePoints 
) [protected]
Select3D_SensitivePoly::Select3D_SensitivePoly ( const Handle< SelectBasics_EntityOwner > &  OwnerId,
const Handle< TColgp_HArray1OfPnt > &  ThePoints 
) [protected]
Select3D_SensitivePoly::Select3D_SensitivePoly ( const Handle< SelectBasics_EntityOwner > &  OwnerId,
const Standard_Integer  NbOfPoints = 6 
) [protected]

Member Function Documentation

void Select3D_SensitivePoly::Areas ( SelectBasics_ListOfBox2d boxes) [virtual]
void Select3D_SensitivePoly::Points2D ( TColgp_Array1OfPnt2d theArrayOfPnt2d)
void Select3D_SensitivePoly::Points3D ( Handle< TColgp_HArray1OfPnt > &  theHArrayOfPnt)
virtual void Select3D_SensitivePoly::Project ( const Handle< Select3D_Projector > &  aProjector) [virtual]

Reimplemented from Select3D_SensitiveEntity.

Reimplemented in Select3D_SensitiveCircle, and MeshVS_SensitiveFace.


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines