| 
    Open CASCADE Technology 7.8.0
    
   | 
 
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 Standard_Integer theIndex) | 
| Appends index to the pair.   | |
| void | Prepend (const Standard_Integer theIndex) | 
| Prepends index to the pair.   | |
| Standard_Boolean | IsEmpty () const | 
| Returns is pair is empty.   | |
| Standard_Integer | Extent () const | 
| Returns number of initialized indices.   | |
| Standard_Integer | FirstIndex () const | 
| Returns first index of pair.   | |
| Standard_Integer | LastIndex () const | 
| Returns last index of pair.   | |
| Standard_Integer | Index (const Standard_Integer thePairPos) const | 
| Returns index corresponding to the given position in the pair.   | |
| void | SetIndex (const Standard_Integer thePairPos, const Standard_Integer theIndex) | 
| Sets index corresponding to the given position in the pair.   | |
| void | RemoveIndex (const Standard_Integer thePairPos) | 
| Remove index from the given position.   | |
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 indices.
      
  | 
  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. |