Open CASCADE Technology 6.6.0
Public Member Functions | Protected Attributes
Intf_Polygon2d Class Reference

#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.

virtual Standard_Boolean Closed () const
 Returns True if the polyline is closed.

virtual Standard_Real DeflectionOverEstimation () const =0
 Returns the tolerance of the polygon.

virtual Standard_Integer NbSegments () const =0
 Returns the number of Segments in the polyline.

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.

Protected Attributes

Bnd_Box2d myBox

Member Function Documentation

const Bnd_Box2d& Intf_Polygon2d::Bounding ( ) const
virtual Standard_Boolean Intf_Polygon2d::Closed ( ) const [virtual]

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]

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines