Open CASCADE Technology  7.3.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::BRepMesh_PairOfPolygon ( )
inline

Constructor. Creates empty pair with null fileds.

Member Function Documentation

◆ Append()

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.

◆ Clear()

void BRepMesh_PairOfPolygon::Clear ( )
inline

Clears pair handles.

◆ First()

const Handle< Poly_PolygonOnTriangulation >& BRepMesh_PairOfPolygon::First ( ) const
inline

Returns first polygon on triangulation.

◆ Last()

const Handle< Poly_PolygonOnTriangulation >& BRepMesh_PairOfPolygon::Last ( ) const
inline

Returns last polygon on triangulation.

◆ Prepend()

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: