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
    Intf_Polygon2d Class Referenceabstract

    Describes the necessary polygon information to compute the interferences. More...

    #include <Intf_Polygon2d.hxx>

    Inheritance diagram for Intf_Polygon2d:

    Public Member Functions

    const Bnd_Box2dBounding () const
     Returns the bounding box of the polygon.
    virtual bool Closed () const
     Returns True if the polyline is closed.
    virtual ~Intf_Polygon2d ()=default
    virtual double DeflectionOverEstimation () const =0
     Returns the tolerance of the polygon.
    virtual int NbSegments () const =0
     Returns the number of Segments in the polyline.
    virtual void Segment (const int theIndex, gp_Pnt2d &theBegin, gp_Pnt2d &theEnd) const =0
     Returns the points of the segment <Index> in the Polygon.

    Protected Attributes

    Bnd_Box2d myBox

    Detailed Description

    Describes the necessary polygon information to compute the interferences.

    Constructor & Destructor Documentation

    ◆ ~Intf_Polygon2d()

    virtual Intf_Polygon2d::~Intf_Polygon2d ( )
    virtualdefault

    Member Function Documentation

    ◆ Bounding()

    const Bnd_Box2d & Intf_Polygon2d::Bounding ( ) const

    Returns the bounding box of the polygon.

    ◆ Closed()

    virtual bool Intf_Polygon2d::Closed ( ) const
    virtual

    ◆ DeflectionOverEstimation()

    virtual double Intf_Polygon2d::DeflectionOverEstimation ( ) const
    pure virtual

    ◆ NbSegments()

    virtual int Intf_Polygon2d::NbSegments ( ) const
    pure virtual

    ◆ Segment()

    virtual void Intf_Polygon2d::Segment ( const int theIndex,
    gp_Pnt2d & theBegin,
    gp_Pnt2d & theEnd ) const
    pure virtual

    Returns the points of the segment <Index> in the Polygon.

    Implemented in Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter, HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter, and IntPatch_Polygo.

    Field Documentation

    ◆ myBox

    Bnd_Box2d Intf_Polygon2d::myBox
    protected

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