Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes
Intf_Polygon2d Class Referenceabstract

#include <Intf_Polygon2d.hxx>

Inheritance diagram for Intf_Polygon2d:
Inheritance graph
[legend]

Public Member Functions

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 Standard_Real DeflectionOverEstimation () const =0
 Returns the tolerance of the polygon.
More...
 
virtual Standard_Integer NbSegments () const =0
 Returns the number of Segments in the polyline.
More...
 
virtual void Segment (const Standard_Integer theIndex, gp_Pnt2d &theBegin, gp_Pnt2d &theEnd) const =0
 Returns the points of the segment <Index> in the Polygon.
More...
 

Protected Attributes

Bnd_Box2d myBox
 

Member Function Documentation

const Bnd_Box2d& Intf_Polygon2d::Bounding ( ) const

Returns the bounding box of the polygon.

virtual Standard_Boolean Intf_Polygon2d::Closed ( ) const
virtual

Returns True if the polyline is closed.

Reimplemented in IntPatch_PolyArc.

virtual Standard_Real Intf_Polygon2d::DeflectionOverEstimation ( ) const
pure virtual
virtual Standard_Integer Intf_Polygon2d::NbSegments ( ) const
pure virtual
virtual void Intf_Polygon2d::Segment ( const Standard_Integer  theIndex,
gp_Pnt2d theBegin,
gp_Pnt2d theEnd 
) const
pure virtual

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

Implemented in HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter, Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter, and IntPatch_Polygo.

Field Documentation

Bnd_Box2d Intf_Polygon2d::myBox
protected

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