Open CASCADE Technology
7.5.0
|
The class is to provide the pair of indices of interfering shapes. More...
#include <BOPDS_Pair.hxx>
Public Member Functions | |
BOPDS_Pair () | |
BOPDS_Pair (const Standard_Integer theIndex1, const Standard_Integer theIndex2) | |
~BOPDS_Pair () | |
void | SetIndices (const Standard_Integer theIndex1, const Standard_Integer theIndex2) |
Sets the indices. More... | |
void | Indices (Standard_Integer &theIndex1, Standard_Integer &theIndex2) const |
Gets the indices. More... | |
Standard_Boolean | operator< (const BOPDS_Pair &theOther) const |
Operator less. More... | |
Standard_Boolean | IsEqual (const BOPDS_Pair &theOther) const |
Returns true if the Pair is equal to <the theother>=""> More... | |
Standard_Integer | HashCode (const Standard_Integer theUpperBound) const |
Computes a hash code for this pair, in the range [1, theUpperBound]. More... | |
Protected Attributes | |
Standard_Integer | myIndex1 |
Standard_Integer | myIndex2 |
The class is to provide the pair of indices of interfering shapes.
|
inline |
|
inline |
|
inline |
|
inline |
Computes a hash code for this pair, in the range [1, theUpperBound].
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Gets the indices.
|
inline |
Returns true if the Pair is equal to <the theother>="">
|
inline |
Operator less.
|
inline |
Sets the indices.
|
protected |
|
protected |