Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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



Member Function Documentation


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