Open CASCADE Technology 6.5.2
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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 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

BOPTools_CommonBlock::BOPTools_CommonBlock ( )
BOPTools_CommonBlock::BOPTools_CommonBlock ( const BOPTools_PaveBlock aPB1,
const BOPTools_PaveBlock aPB2 
)
BOPTools_CommonBlock::BOPTools_CommonBlock ( const BOPTools_PaveBlock aPB1,
const Standard_Integer  aF 
)

Member Function Documentation

Standard_Integer BOPTools_CommonBlock::Face ( ) const
void BOPTools_CommonBlock::operator delete ( void *  anAddress) [inline]
void* BOPTools_CommonBlock::operator new ( size_t  size) [inline]
void* BOPTools_CommonBlock::operator new ( size_t  ,
void *  anAddress 
) [inline]
BOPTools_PaveBlock& BOPTools_CommonBlock::PaveBlock1 ( const Standard_Integer  anIndex)
const BOPTools_PaveBlock& BOPTools_CommonBlock::PaveBlock1 ( ) const
const BOPTools_PaveBlock& BOPTools_CommonBlock::PaveBlock2 ( ) const
BOPTools_PaveBlock& BOPTools_CommonBlock::PaveBlock2 ( const Standard_Integer  anIndex)
void BOPTools_CommonBlock::SetFace ( const Standard_Integer  aF)
void BOPTools_CommonBlock::SetPaveBlock1 ( const BOPTools_PaveBlock aPB1)
void BOPTools_CommonBlock::SetPaveBlock2 ( const BOPTools_PaveBlock aPB2)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines