Open CASCADE Technology
7.7.0
|
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 (default value), for the periodic surface 2d point, adjusted to period, is classified. More... | |
~IntTools_FClass2d () | |
Destructor. More... | |
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 |
Class provides an algorithm to classify a 2d Point in 2d space of face using boundaries of the face.
IntTools_FClass2d::IntTools_FClass2d | ( | ) |
Empty constructor.
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 | ( | ) |
Destructor.
void IntTools_FClass2d::Init | ( | const TopoDS_Face & | F, |
const Standard_Real | Tol | ||
) |
Initializes algorithm by the face F and tolerance Tol.
Standard_Boolean IntTools_FClass2d::IsHole | ( | ) | const |
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 (default value), for the periodic surface 2d point, adjusted to period, is classified.
TopAbs_State IntTools_FClass2d::PerformInfinitePoint | ( | ) | const |
Returns state of infinite 2d point relatively to (0, 0)
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)