Open CASCADE Technology
6.5.4
|
Root class for storing an Interference
between a couple BRep shapes
#include <BOPTools_ShapeShapeInterference.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BOPTools_ShapeShapeInterference () |
Empty constructor | |
BOPTools_ShapeShapeInterference (const Standard_Integer anIndex1, const Standard_Integer anIndex2) | |
Constructor | |
void | SetIndex1 (const Standard_Integer anIndex1) |
Modifier Sets DS-index for the first shape from the couple | |
void | SetIndex2 (const Standard_Integer anIndex2) |
Modifier Sets DS-index for the second shape from the couple | |
void | SetNewShape (const Standard_Integer anIndex) |
Modifier Sets DS-index for the new shape | |
Standard_Integer | Index1 () const |
Selector | |
Standard_Integer | Index2 () const |
Selector | |
void | Indices (Standard_Integer &anIndex1, Standard_Integer &anIndex2) const |
Selector | |
Standard_Integer | OppositeIndex (const Standard_Integer anIndex) const |
Selector Gets the value of index if anIndex==myIndex1 it returns myIndex2; if anIndex==myIndex2 it returns myIndex1; otherwise it returns 0; | |
Standard_Integer | NewShape () const |
Selector |
BOPTools_ShapeShapeInterference::BOPTools_ShapeShapeInterference | ( | const Standard_Integer | anIndex1, |
const Standard_Integer | anIndex2 | ||
) |
void BOPTools_ShapeShapeInterference::Indices | ( | Standard_Integer & | anIndex1, |
Standard_Integer & | anIndex2 | ||
) | const |
Standard_Integer BOPTools_ShapeShapeInterference::OppositeIndex | ( | const Standard_Integer | anIndex | ) | const |