Open CASCADE Technology  7.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
IntPatch_Polygo Class Referenceabstract

#include <IntPatch_Polygo.hxx>

Inheritance diagram for IntPatch_Polygo:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

 IntPatch_Polygo (const Standard_Real theError=0.0)
 

Protected Attributes

Standard_Real myError
 
- Protected Attributes inherited from Intf_Polygon2d
Bnd_Box2d myBox
 

Constructor & Destructor Documentation

◆ IntPatch_Polygo()

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

Member Function Documentation

◆ DeflectionOverEstimation()

virtual Standard_Real IntPatch_Polygo::DeflectionOverEstimation ( ) const
overridevirtual

Returns the tolerance of the polygon.

Implements Intf_Polygon2d.

◆ Dump()

void IntPatch_Polygo::Dump ( ) const

◆ Error()

Standard_Real IntPatch_Polygo::Error ( ) const

◆ NbPoints()

virtual Standard_Integer IntPatch_Polygo::NbPoints ( ) const
pure virtual

Implemented in IntPatch_PolyLine, and IntPatch_PolyArc.

◆ NbSegments()

virtual Standard_Integer IntPatch_Polygo::NbSegments ( ) const
overridevirtual

Returns the number of Segments in the polyline.

Implements Intf_Polygon2d.

◆ Point()

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

Implemented in IntPatch_PolyLine, and IntPatch_PolyArc.

◆ Segment()

virtual void IntPatch_Polygo::Segment ( const Standard_Integer  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

Standard_Real IntPatch_Polygo::myError
protected

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