Open CASCADE Technology
6.9.1
|
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... | |
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.
|
inline |
Default constructor.
|
inline |
Appends index to the pair.
|
inline |
Clears indices.
|
inline |
Returns number of initialized indeces.
|
inline |
Returns first index of pair.
|
inline |
Returns index corresponding to the given position in the pair.
thePairPos | position of index in the pair (1 or 2). |
|
inline |
Returns is pair is empty.
|
inline |
Returns last index of pair.
|
inline |
Prepends index to the pair.
|
inline |
Remove index from the given position.
thePairPos | position of index in the pair (1 or 2). |
|
inline |
Sets index corresponding to the given position in the pair.
thePairPos | position of index in the pair (1 or 2). |
theIndex | index to be stored. |