Open CASCADE Technology  6.9.1
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
 Returns the tolerance of the polygon. More...
 
virtual Standard_Integer NbSegments () const
 Returns the number of Segments in the polyline. More...
 
virtual void Segment (const Standard_Integer theIndex, gp_Pnt2d &theBegin, gp_Pnt2d &theEnd) const
 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 ( const Standard_Real  theError = 0.0)
protected

Member Function Documentation

virtual Standard_Real IntPatch_Polygo::DeflectionOverEstimation ( ) const
virtual

Returns the tolerance of the polygon.

Implements Intf_Polygon2d.

void IntPatch_Polygo::Dump ( ) const
Standard_Real IntPatch_Polygo::Error ( ) const
virtual Standard_Integer IntPatch_Polygo::NbPoints ( ) const
pure virtual

Implemented in IntPatch_PolyLine, and IntPatch_PolyArc.

virtual Standard_Integer IntPatch_Polygo::NbSegments ( ) const
virtual

Returns the number of Segments in the polyline.

Implements Intf_Polygon2d.

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

Implemented in IntPatch_PolyLine, and IntPatch_PolyArc.

virtual void IntPatch_Polygo::Segment ( const Standard_Integer  theIndex,
gp_Pnt2d theBegin,
gp_Pnt2d theEnd 
) const
virtual

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

Implements Intf_Polygon2d.

Field Documentation

Standard_Real IntPatch_Polygo::myError
protected

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