OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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.
     IntTools_FClass2d (const TopoDS_Face &F, const double Tol)
     Initializes algorithm by the face F and tolerance Tol.
    void Init (const TopoDS_Face &F, const double 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 bool RecadreOnPeriodic=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 double Tol, const bool RecadreOnPeriodic=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).
    bool 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 double Tol )

    Initializes algorithm by the face F and tolerance Tol.

    ◆ ~IntTools_FClass2d()

    IntTools_FClass2d::~IntTools_FClass2d ( )

    Destructor.

    Member Function Documentation

    ◆ Init()

    void IntTools_FClass2d::Init ( const TopoDS_Face & F,
    const double Tol )

    Initializes algorithm by the face F and tolerance Tol.

    ◆ IsHole()

    bool IntTools_FClass2d::IsHole ( ) const

    ◆ Perform()

    TopAbs_State IntTools_FClass2d::Perform ( const gp_Pnt2d & Puv,
    const bool RecadreOnPeriodic = 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.

    ◆ 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 double Tol,
    const bool RecadreOnPeriodic = 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: