OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntPatch_Polygo Class Referenceabstract

    #include <IntPatch_Polygo.hxx>

    Inheritance diagram for IntPatch_Polygo:

    Public Member Functions

    double Error () const
    virtual int NbPoints () const =0
    virtual gp_Pnt2d Point (const int Index) const =0
    double DeflectionOverEstimation () const override
     Returns the tolerance of the polygon.
    int NbSegments () const override
     Returns the number of Segments in the polyline.
    void Segment (const int theIndex, gp_Pnt2d &theBegin, gp_Pnt2d &theEnd) const override
     Returns the points of the segment <Index> in the Polygon.
    void Dump () const
    Public Member Functions inherited from Intf_Polygon2d
    const Bnd_Box2d & Bounding () const
     Returns the bounding box of the polygon.
    virtual bool Closed () const
     Returns True if the polyline is closed.
    virtual ~Intf_Polygon2d ()=default

    Protected Member Functions

     IntPatch_Polygo (const double theError=0.0)

    Protected Attributes

    double myError
    Protected Attributes inherited from Intf_Polygon2d
    Bnd_Box2d myBox

    Constructor & Destructor Documentation

    ◆ IntPatch_Polygo()

    IntPatch_Polygo::IntPatch_Polygo ( const double theError = 0.0)
    protected

    Member Function Documentation

    ◆ DeflectionOverEstimation()

    double IntPatch_Polygo::DeflectionOverEstimation ( ) const
    overridevirtual

    Returns the tolerance of the polygon.

    Implements Intf_Polygon2d.

    ◆ Dump()

    void IntPatch_Polygo::Dump ( ) const

    ◆ Error()

    double IntPatch_Polygo::Error ( ) const

    ◆ NbPoints()

    virtual int IntPatch_Polygo::NbPoints ( ) const
    pure virtual

    Implemented in IntPatch_PolyArc, and IntPatch_PolyLine.

    ◆ NbSegments()

    int IntPatch_Polygo::NbSegments ( ) const
    overridevirtual

    Returns the number of Segments in the polyline.

    Implements Intf_Polygon2d.

    ◆ Point()

    virtual gp_Pnt2d IntPatch_Polygo::Point ( const int Index) const
    pure virtual

    Implemented in IntPatch_PolyArc, and IntPatch_PolyLine.

    ◆ Segment()

    void IntPatch_Polygo::Segment ( const int theIndex,
    gp_Pnt2d & theBegin,
    gp_Pnt2d & theEnd ) const
    overridevirtual

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

    Implements Intf_Polygon2d.

    Field Documentation

    ◆ myError

    double IntPatch_Polygo::myError
    protected

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