Open CASCADE Technology  7.3.0
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::BRepMesh_PairOfIndex ( )
inline

Default constructor.

Member Function Documentation

◆ Append()

void BRepMesh_PairOfIndex::Append ( const Standard_Integer  theIndex)
inline

Appends index to the pair.

◆ Clear()

void BRepMesh_PairOfIndex::Clear ( )
inline

Clears indices.

◆ Extent()

Standard_Integer BRepMesh_PairOfIndex::Extent ( ) const
inline

Returns number of initialized indeces.

◆ FirstIndex()

Standard_Integer BRepMesh_PairOfIndex::FirstIndex ( ) const
inline

Returns first index of pair.

◆ Index()

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

◆ IsEmpty()

Standard_Boolean BRepMesh_PairOfIndex::IsEmpty ( ) const
inline

Returns is pair is empty.

◆ LastIndex()

Standard_Integer BRepMesh_PairOfIndex::LastIndex ( ) const
inline

Returns last index of pair.

◆ Prepend()

void BRepMesh_PairOfIndex::Prepend ( const Standard_Integer  theIndex)
inline

Prepends index to the pair.

◆ RemoveIndex()

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

◆ SetIndex()

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: