Open CASCADE Technology  7.6.0
Public Member Functions

IntTools_FClass2d Class Reference

Class provides an algorithm to classify a 2d Point in 2d space of face using boundaries of the face. More...

#include <IntTools_FClass2d.hxx>

Public Member Functions

 IntTools_FClass2d ()
 Empty constructor. More...
 
 IntTools_FClass2d (const TopoDS_Face &F, const Standard_Real Tol)
 Initializes algorithm by the face F and tolerance Tol. More...
 
void Init (const TopoDS_Face &F, const Standard_Real Tol)
 Initializes algorithm by the face F and tolerance Tol. More...
 
TopAbs_State PerformInfinitePoint () const
 Returns state of infinite 2d point relatively to (0, 0) More...
 
TopAbs_State Perform (const gp_Pnt2d &Puv, const Standard_Boolean RecadreOnPeriodic=Standard_True) const
 Returns state of the 2d point Puv. If RecadreOnPeriodic is true (defalut value), for the periodic surface 2d point, adjusted to period, is classified. More...
 
void Destroy ()
 Destructor. More...
 
 ~IntTools_FClass2d ()
 
TopAbs_State TestOnRestriction (const gp_Pnt2d &Puv, const Standard_Real Tol, const Standard_Boolean RecadreOnPeriodic=Standard_True) const
 Test a point with +- an offset (Tol) and returns On if some points are OUT an some are IN (Caution: Internal use . see the code for more details) More...
 
Standard_Boolean IsHole () const
 

Detailed Description

Class provides an algorithm to classify a 2d Point in 2d space of face using boundaries of the face.

Constructor & Destructor Documentation

◆ IntTools_FClass2d() [1/2]

IntTools_FClass2d::IntTools_FClass2d ( )

Empty constructor.

◆ IntTools_FClass2d() [2/2]

IntTools_FClass2d::IntTools_FClass2d ( const TopoDS_Face F,
const Standard_Real  Tol 
)

Initializes algorithm by the face F and tolerance Tol.

◆ ~IntTools_FClass2d()

IntTools_FClass2d::~IntTools_FClass2d ( )
inline

Member Function Documentation

◆ Destroy()

void IntTools_FClass2d::Destroy ( )

Destructor.

◆ Init()

void IntTools_FClass2d::Init ( const TopoDS_Face F,
const Standard_Real  Tol 
)

Initializes algorithm by the face F and tolerance Tol.

◆ IsHole()

Standard_Boolean IntTools_FClass2d::IsHole ( ) const

◆ Perform()

TopAbs_State IntTools_FClass2d::Perform ( const gp_Pnt2d Puv,
const Standard_Boolean  RecadreOnPeriodic = Standard_True 
) const

Returns state of the 2d point Puv. If RecadreOnPeriodic is true (defalut value), for the periodic surface 2d point, adjusted to period, is classified.

◆ PerformInfinitePoint()

TopAbs_State IntTools_FClass2d::PerformInfinitePoint ( ) const

Returns state of infinite 2d point relatively to (0, 0)

◆ TestOnRestriction()

TopAbs_State IntTools_FClass2d::TestOnRestriction ( const gp_Pnt2d Puv,
const Standard_Real  Tol,
const Standard_Boolean  RecadreOnPeriodic = Standard_True 
) const

Test a point with +- an offset (Tol) and returns On if some points are OUT an some are IN (Caution: Internal use . see the code for more details)


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