Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BOPTools_CommonBlock Class Reference

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_PaveBlockPaveBlock1 () const
 Selector
Always returns first block myPB1


BOPTools_PaveBlockPaveBlock1 (const Standard_Integer anIndex)
 Selector
Returns block that belongs to the original edge with
DS-index=anIndex


const BOPTools_PaveBlockPaveBlock2 () const
 Selector
Always returns first block myPB2


BOPTools_PaveBlockPaveBlock2 (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.



Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: