Open CASCADE Technology
6.5.4
|
The auxiliary class provides structure to store a shape
and its rank
#include <BOPTColStd_ShapeWithRank.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BOPTColStd_ShapeWithRank () |
Empty constructor | |
void | SetShape (const TopoDS_Shape &aS) |
Modifier | |
void | SetRank (const Standard_Integer aR) |
Modifier | |
const TopoDS_Shape & | Shape () const |
Selector | |
Standard_Integer | Rank () const |
Selector | |
Standard_Integer | HashCode (const Standard_Integer Upper) const |
Returns a HasCode value for the Key <K> in the range 0..Upper. | |
Standard_Boolean | IsEqual (const BOPTColStd_ShapeWithRank &Other) const |
Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary. |
Standard_Integer BOPTColStd_ShapeWithRank::HashCode | ( | const Standard_Integer | Upper | ) | const |
Standard_Boolean BOPTColStd_ShapeWithRank::IsEqual | ( | const BOPTColStd_ShapeWithRank & | Other | ) | const |
const TopoDS_Shape& BOPTColStd_ShapeWithRank::Shape | ( | ) | const |