Open CASCADE Technology  7.4.0
Public Member Functions | Protected Attributes

Intf_Polygon2d Class Referenceabstract

Describes the necessary polygon information to compute the interferences. More...

#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 ~Intf_Polygon2d ()
 
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
 

Detailed Description

Describes the necessary polygon information to compute the interferences.

Constructor & Destructor Documentation

◆ ~Intf_Polygon2d()

virtual Intf_Polygon2d::~Intf_Polygon2d ( )
inlinevirtual

Member Function Documentation

◆ Bounding()

const Bnd_Box2d& Intf_Polygon2d::Bounding ( ) const

Returns the bounding box of the polygon.

◆ Closed()

virtual Standard_Boolean Intf_Polygon2d::Closed ( ) const
virtual

◆ DeflectionOverEstimation()

virtual Standard_Real Intf_Polygon2d::DeflectionOverEstimation ( ) const
pure virtual

◆ NbSegments()

virtual Standard_Integer Intf_Polygon2d::NbSegments ( ) const
pure virtual

◆ Segment()

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 Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter, HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter, and IntPatch_Polygo.

Field Documentation

◆ myBox

Bnd_Box2d Intf_Polygon2d::myBox
protected

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