Open CASCADE Technology  6.9.1
Public Member Functions
BRepMesh_PairOfIndex Class Reference

This class represents a pair of integer indices to store element indices connected to link. It is restricted to store more than two indices in it. More...

#include <BRepMesh_PairOfIndex.hxx>

Public Member Functions

 BRepMesh_PairOfIndex ()
 Default constructor. More...
 
void Clear ()
 Clears indices. More...
 
void Append (const Standard_Integer theIndex)
 Appends index to the pair. More...
 
void Prepend (const Standard_Integer theIndex)
 Prepends index to the pair. More...
 
Standard_Boolean IsEmpty () const
 Returns is pair is empty. More...
 
Standard_Integer Extent () const
 Returns number of initialized indeces. More...
 
Standard_Integer FirstIndex () const
 Returns first index of pair. More...
 
Standard_Integer LastIndex () const
 Returns last index of pair. More...
 
Standard_Integer Index (const Standard_Integer thePairPos) const
 Returns index corresponding to the given position in the pair. More...
 
void SetIndex (const Standard_Integer thePairPos, const Standard_Integer theIndex)
 Sets index corresponding to the given position in the pair. More...
 
void RemoveIndex (const Standard_Integer thePairPos)
 Remove index from the given position. More...
 

Detailed Description

This class represents a pair of integer indices to store element indices connected to link. It is restricted to store more than two indices in it.

Constructor & Destructor Documentation

BRepMesh_PairOfIndex::BRepMesh_PairOfIndex ( )
inline

Default constructor.

Member Function Documentation

void BRepMesh_PairOfIndex::Append ( const Standard_Integer  theIndex)
inline

Appends index to the pair.

void BRepMesh_PairOfIndex::Clear ( )
inline

Clears indices.

Standard_Integer BRepMesh_PairOfIndex::Extent ( void  ) const
inline

Returns number of initialized indeces.

Standard_Integer BRepMesh_PairOfIndex::FirstIndex ( ) const
inline

Returns first index of pair.

Standard_Integer BRepMesh_PairOfIndex::Index ( const Standard_Integer  thePairPos) const
inline

Returns index corresponding to the given position in the pair.

Parameters
thePairPosposition of index in the pair (1 or 2).
Standard_Boolean BRepMesh_PairOfIndex::IsEmpty ( ) const
inline

Returns is pair is empty.

Standard_Integer BRepMesh_PairOfIndex::LastIndex ( ) const
inline

Returns last index of pair.

void BRepMesh_PairOfIndex::Prepend ( const Standard_Integer  theIndex)
inline

Prepends index to the pair.

void BRepMesh_PairOfIndex::RemoveIndex ( const Standard_Integer  thePairPos)
inline

Remove index from the given position.

Parameters
thePairPosposition of index in the pair (1 or 2).
void BRepMesh_PairOfIndex::SetIndex ( const Standard_Integer  thePairPos,
const Standard_Integer  theIndex 
)
inline

Sets index corresponding to the given position in the pair.

Parameters
thePairPosposition of index in the pair (1 or 2).
theIndexindex to be stored.

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