Open CASCADE Technology 6.5.2
Public Member Functions
Select2D_SensitiveArc Class Reference

sensitive Areas for an Arc Of Circle
One gives Radius and center,and limits.
or a geometric circle.

#include <Select2D_SensitiveArc.hxx>

Inheritance diagram for Select2D_SensitiveArc:
Inheritance graph
[legend]

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.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

void Select2D_SensitiveArc::Areas ( SelectBasics_ListOfBox2d aresul) [virtual]
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]
Standard_Boolean Select2D_SensitiveArc::Matches ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  aTol,
Standard_Real DMin 
) [virtual]

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