Open CASCADE Technology  6.9.0
Public Member Functions
BRepMesh_PairOfPolygon Class Reference

#include <BRepMesh_PairOfPolygon.hxx>

Public Member Functions

 BRepMesh_PairOfPolygon ()
 Constructor. Creates empty pair with null fileds. More...
 
void Clear ()
 Clears pair handles. More...
 
void Prepend (const Handle< Poly_PolygonOnTriangulation > &thePolygon)
 Sets the first element of the pair. If last element is empty, also assignes the given polygon to it. More...
 
void Append (const Handle< Poly_PolygonOnTriangulation > &thePolygon)
 Sets the last element of the pair. If first element is empty, also assignes the given polygon to it. More...
 
const
Handle_Poly_PolygonOnTriangulation & 
First () const
 Returns first polygon on triangulation. More...
 
const
Handle_Poly_PolygonOnTriangulation & 
Last () const
 Returns last polygon on triangulation. More...
 

Constructor & Destructor Documentation

BRepMesh_PairOfPolygon::BRepMesh_PairOfPolygon ( )
inline

Constructor. Creates empty pair with null fileds.

Member Function Documentation

void BRepMesh_PairOfPolygon::Append ( const Handle< Poly_PolygonOnTriangulation > &  thePolygon)
inline

Sets the last element of the pair. If first element is empty, also assignes the given polygon to it.

Parameters
thePolygonplygon to be set.
void BRepMesh_PairOfPolygon::Clear ( )
inline

Clears pair handles.

const Handle_Poly_PolygonOnTriangulation& BRepMesh_PairOfPolygon::First ( ) const
inline

Returns first polygon on triangulation.

const Handle_Poly_PolygonOnTriangulation& BRepMesh_PairOfPolygon::Last ( ) const
inline

Returns last polygon on triangulation.

void BRepMesh_PairOfPolygon::Prepend ( const Handle< Poly_PolygonOnTriangulation > &  thePolygon)
inline

Sets the first element of the pair. If last element is empty, also assignes the given polygon to it.

Parameters
thePolygonplygon to be set.

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