Open CASCADE Technology 6.6.0
Public Member Functions | Protected Attributes
BOPDS_CommonBlock Class Reference

The class BOPDS_CommonBlock is to store
the information about pave blocks that have
geometry coincidence (in terms of a tolerance) with
a) other pave block(s)
b) face(s)

#include <BOPDS_CommonBlock.hxx>

Inheritance diagram for BOPDS_CommonBlock:
Inheritance graph
[legend]

Public Member Functions

 BOPDS_CommonBlock ()
 Empty contructor


 BOPDS_CommonBlock (const BOPCol_BaseAllocator &theAllocator)
 Contructor
<theAllocator> - the allocator to manage the memory


void AddPaveBlock (const Handle< BOPDS_PaveBlock > &aPB)
 Modifier
Adds the pave block <aPB> to the list of pave blocks
of the common block

void AddPaveBlocks (const BOPDS_ListOfPaveBlock &aLPB)
 Modifier
Adds the list of pave blocks <aLPB>
to the list of pave blocks
of the common block

void AddFace (const Standard_Integer aF)
 Modifier
Adds the index of the face <aF>
to the list of indices of faces
of the common block

void AddFaces (const BOPCol_ListOfInteger &aLF)
 Modifier
Adds the list of indices of faces <aLF>
to the list of indices of faces
of the common block

const BOPDS_ListOfPaveBlockPaveBlocks () const
 Selector
Returns the list of pave blocks
of the common block

const BOPCol_ListOfIntegerFaces () const
 Selector
Returns the list of indices of faces
of the common block

const Handle_BOPDS_PaveBlock & PaveBlock1 () const
 Selector
Returns the first pave block
of the common block

Handle_BOPDS_PaveBlock & PaveBlockOnEdge (const Standard_Integer theIndex)
 Selector
Returns the pave block that belongs
to the edge with index <theIx>

Standard_Boolean IsPaveBlockOnFace (const Standard_Integer theIndex) const
 Query
Returns true if the common block contains
a pave block that belongs
to the face with index <theIx>

Standard_Boolean IsPaveBlockOnEdge (const Standard_Integer theIndex) const
 Query
Returns true if the common block contains
a pave block that belongs
to the edge with index <theIx>

Standard_Boolean Contains (const Handle< BOPDS_PaveBlock > &thePB) const
 Query
Returns true if the common block contains
a pave block that is equal to <thePB>

Standard_Boolean Contains (const Standard_Integer theF) const
 Query
Returns true if the common block contains
the face with index equal to <theF>

void SetEdge (const Standard_Integer theEdge)
 Modifier
Assign the index <theEdge> as the edge index
to all pave blocks of the common block

Standard_Integer Edge () const
 Selector
Returns the index of the edge
of all pave blocks of the common block

void Dump () const

Protected Attributes

BOPDS_ListOfPaveBlock myPaveBlocks
BOPCol_ListOfInteger myFaces

Constructor & Destructor Documentation

BOPDS_CommonBlock::BOPDS_CommonBlock ( )
BOPDS_CommonBlock::BOPDS_CommonBlock ( const BOPCol_BaseAllocator theAllocator)

Member Function Documentation

void BOPDS_CommonBlock::AddFace ( const Standard_Integer  aF)
void BOPDS_CommonBlock::AddFaces ( const BOPCol_ListOfInteger aLF)
void BOPDS_CommonBlock::AddPaveBlock ( const Handle< BOPDS_PaveBlock > &  aPB)
void BOPDS_CommonBlock::AddPaveBlocks ( const BOPDS_ListOfPaveBlock aLPB)
Standard_Boolean BOPDS_CommonBlock::Contains ( const Handle< BOPDS_PaveBlock > &  thePB) const
Standard_Boolean BOPDS_CommonBlock::Contains ( const Standard_Integer  theF) const
void BOPDS_CommonBlock::Dump ( ) const
Standard_Integer BOPDS_CommonBlock::Edge ( ) const
const BOPCol_ListOfInteger& BOPDS_CommonBlock::Faces ( ) const
Standard_Boolean BOPDS_CommonBlock::IsPaveBlockOnEdge ( const Standard_Integer  theIndex) const
Standard_Boolean BOPDS_CommonBlock::IsPaveBlockOnFace ( const Standard_Integer  theIndex) const
const Handle_BOPDS_PaveBlock& BOPDS_CommonBlock::PaveBlock1 ( ) const
Handle_BOPDS_PaveBlock& BOPDS_CommonBlock::PaveBlockOnEdge ( const Standard_Integer  theIndex)
const BOPDS_ListOfPaveBlock& BOPDS_CommonBlock::PaveBlocks ( ) const
void BOPDS_CommonBlock::SetEdge ( const Standard_Integer  theEdge)

Field Documentation


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