|
Open CASCADE Technology
6.5.4
|
The class hold a structure for storing info about a couple
of pave blocks that are considered as common
#include <BOPTools_CommonBlock.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | BOPTools_CommonBlock () |
| Empty constructor | |
| BOPTools_CommonBlock (const BOPTools_PaveBlock &aPB1, const BOPTools_PaveBlock &aPB2) | |
| Constructor that uses couple of pave blocks | |
| BOPTools_CommonBlock (const BOPTools_PaveBlock &aPB1, const Standard_Integer aF) | |
| Constructor that uses a pave block and a face | |
| void | SetPaveBlock1 (const BOPTools_PaveBlock &aPB1) |
| Modifier Sets first block | |
| void | SetPaveBlock2 (const BOPTools_PaveBlock &aPB2) |
| Modifier Sets second block | |
| void | SetFace (const Standard_Integer aF) |
| Modifier Sets DS-index of the face (if it exists) with which the CommonBlock is common. 0 is default value | |
| const BOPTools_PaveBlock & | PaveBlock1 () const |
| Selector Always returns first block myPB1 | |
| BOPTools_PaveBlock & | PaveBlock1 (const Standard_Integer anIndex) |
| Selector Returns block that belongs to the original edge with DS-index=anIndex | |
| const BOPTools_PaveBlock & | PaveBlock2 () const |
| Selector Always returns first block myPB2 | |
| BOPTools_PaveBlock & | PaveBlock2 (const Standard_Integer anIndex) |
| Selector Returns block that does not belong to the original edge with DS-index=anIndex | |
| Standard_Integer | Face () const |
| Selector Returns the DS-index of the face (if exists) with which the CommonBlock is common. Otherwise it returns 0. | |
| BOPTools_CommonBlock::BOPTools_CommonBlock | ( | const BOPTools_PaveBlock & | aPB1, |
| const BOPTools_PaveBlock & | aPB2 | ||
| ) |
| BOPTools_CommonBlock::BOPTools_CommonBlock | ( | const BOPTools_PaveBlock & | aPB1, |
| const Standard_Integer | aF | ||
| ) |
| Standard_Integer BOPTools_CommonBlock::Face | ( | ) | const |
1.8.0