// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Select2D_SensitiveCircle_HeaderFile #define _Select2D_SensitiveCircle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Select2D_SensitiveCircle_HeaderFile #include #endif #ifndef _gp_Circ2d_HeaderFile #include #endif #ifndef _Select2D_TypeOfSelection_HeaderFile #include #endif #ifndef _Select2D_SensitiveEntity_HeaderFile #include #endif #ifndef _Handle_SelectBasics_EntityOwner_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class SelectBasics_EntityOwner; class gp_Circ2d; class SelectBasics_ListOfBox2d; //! A framework to define sensitive Areas for a Circle
//! Radius and center, or a geometric circle is given.
class Select2D_SensitiveCircle : public Select2D_SensitiveEntity { public: //! Constructs a sensitive circle object defined by the
//! owner OwnerId, the circle Circle, and the selection type Type.
//! Type can be:
//! - interior
//! - boundary.
Standard_EXPORT Select2D_SensitiveCircle(const Handle(SelectBasics_EntityOwner)& OwnerId,const gp_Circ2d& TheCirc,const Select2D_TypeOfSelection TheType = Select2D_TOS_BOUNDARY); //! returns the sensitive areas for a circle...
Standard_EXPORT void Areas(SelectBasics_ListOfBox2d& aresul) ; //! Returns true if the minimum distance DMin
//! between the postion x,y and the circle is less than aTol..
Standard_EXPORT Standard_Boolean Matches(const Standard_Real X,const Standard_Real Y,const Standard_Real aTol,Standard_Real& DMin) ; Standard_EXPORT Standard_Boolean Matches(const Standard_Real XMin,const Standard_Real YMin,const Standard_Real XMax,const Standard_Real YMax,const Standard_Real aTol) ; //! Returns the circle used at the time of construction of this object.
const gp_Circ2d& Circle() const; //! Sets the selection type.
void SetTypeOfSelection(const Select2D_TypeOfSelection aType) ; //! Returns the selection type used at the time of construction of this object.
Select2D_TypeOfSelection Selection() ; DEFINE_STANDARD_RTTI(Select2D_SensitiveCircle) protected: private: gp_Circ2d myCirc; Select2D_TypeOfSelection mytype; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif