Open CASCADE Technology 7.8.2.dev
|
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. | |
IntTools_FClass2d (const TopoDS_Face &F, const Standard_Real Tol) | |
Initializes algorithm by the face F and tolerance Tol. | |
void | Init (const TopoDS_Face &F, const Standard_Real Tol) |
Initializes algorithm by the face F and tolerance Tol. | |
TopAbs_State | PerformInfinitePoint () const |
Returns state of infinite 2d point relatively to (0, 0) | |
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. | |
~IntTools_FClass2d () | |
Destructor. | |
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) | |
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)