Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
void Clear ()
 Clears indices.
 
void Append (const int theIndex)
 Appends index to the pair.
 
void Prepend (const int theIndex)
 Prepends index to the pair.
 
bool IsEmpty () const
 Returns is pair is empty.
 
int Extent () const
 Returns number of initialized indices.
 
int FirstIndex () const
 Returns first index of pair.
 
int LastIndex () const
 Returns last index of pair.
 
int Index (const int thePairPos) const
 Returns index corresponding to the given position in the pair.
 
void SetIndex (const int thePairPos, const int theIndex)
 Sets index corresponding to the given position in the pair.
 
void RemoveIndex (const int thePairPos)
 Remove index from the given position.
 

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 int theIndex)
inline

Appends index to the pair.

◆ Clear()

void BRepMesh_PairOfIndex::Clear ( )
inline

Clears indices.

◆ Extent()

int BRepMesh_PairOfIndex::Extent ( ) const
inline

Returns number of initialized indices.

◆ FirstIndex()

int BRepMesh_PairOfIndex::FirstIndex ( ) const
inline

Returns first index of pair.

◆ Index()

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

Returns index corresponding to the given position in the pair.

Parameters
thePairPosposition of index in the pair (1 or 2).

◆ IsEmpty()

bool BRepMesh_PairOfIndex::IsEmpty ( ) const
inline

Returns is pair is empty.

◆ LastIndex()

int BRepMesh_PairOfIndex::LastIndex ( ) const
inline

Returns last index of pair.

◆ Prepend()

void BRepMesh_PairOfIndex::Prepend ( const int theIndex)
inline

Prepends index to the pair.

◆ RemoveIndex()

void BRepMesh_PairOfIndex::RemoveIndex ( const int thePairPos)
inline

Remove index from the given position.

Parameters
thePairPosposition of index in the pair (1 or 2).

◆ SetIndex()

void BRepMesh_PairOfIndex::SetIndex ( const int thePairPos,
const int 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: