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

A framework to define sensitive Areas for a Circle
Radius and center, or a geometric circle is given.

#include <Select2D_SensitiveCircle.hxx>

Inheritance diagram for Select2D_SensitiveCircle:
Inheritance graph
[legend]

Public Member Functions

 Select2D_SensitiveCircle (const Handle< SelectBasics_EntityOwner > &OwnerId, const gp_Circ2d &TheCirc, const Select2D_TypeOfSelection TheType=Select2D_TOS_BOUNDARY)
 Constructs a sensitive circle object defined by the
owner OwnerId, the circle Circle, and the selection type Type.
Type can be:

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.

const gp_Circ2dCircle () const
 Returns the circle used at the time of construction of this object.

void SetTypeOfSelection (const Select2D_TypeOfSelection aType)
 Sets the selection type.

Select2D_TypeOfSelection Selection ()
 Returns the selection type used at the time of construction of this object.


Constructor & Destructor Documentation

  • interior
  • boundary.

Member Function Documentation


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