Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
BOPDS_DS Class Reference

The class BOPDS_DS provides the control of data structure for the algorithms in the Boolean Component such as General Fuse, Boolean operations, Section, Maker Volume, Splitter and Cells Builder. More...

#include <BOPDS_DS.hxx>

Public Member Functions

 BOPDS_DS ()
 Empty constructor.
 
virtual ~BOPDS_DS ()
 
 BOPDS_DS (const occ::handle< NCollection_BaseAllocator > &theAllocator)
 Constructor.
 
void Clear ()
 Clears the contents.
 
const occ::handle< NCollection_BaseAllocator > & Allocator () const
 Selector.
 
void SetArguments (const NCollection_List< TopoDS_Shape > &theLS)
 Modifier Sets the arguments [theLS] of an operation.
 
const NCollection_List< TopoDS_Shape > & Arguments () const
 Selector Returns the arguments of an operation.
 
void Init (const double theFuzz=Precision::Confusion())
 Initializes the data structure for the arguments.
 
int NbShapes () const
 Selector Returns the total number of shapes stored.
 
int NbSourceShapes () const
 Selector Returns the total number of source shapes stored.
 
int NbRanges () const
 Selector Returns the number of index ranges.
 
const BOPDS_IndexRangeRange (const int theIndex) const
 Selector Returns the index range "i".
 
int Rank (const int theIndex) const
 Selector Returns the rank of the shape of index "i".
 
bool IsNewShape (const int theIndex) const
 Returns true if the shape of index "i" is not the source shape/sub-shape.
 
int Append (const BOPDS_ShapeInfo &theSI)
 Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure.
 
int Append (const TopoDS_Shape &theS)
 Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure.
 
const BOPDS_ShapeInfoShapeInfo (const int theIndex) const
 Selector Returns the information about the shape with index theIndex.
 
BOPDS_ShapeInfoChangeShapeInfo (const int theIndex)
 Selector/Modifier Returns the information about the shape with index theIndex.
 
const TopoDS_ShapeShape (const int theIndex) const
 Selector Returns the shape with index theIndex.
 
int Index (const TopoDS_Shape &theS) const
 Selector Returns the index of the shape theS.
 
const NCollection_DynamicArray< NCollection_List< occ::handle< BOPDS_PaveBlock > > > & PaveBlocksPool () const
 Selector Returns the information about pave blocks on source edges.
 
NCollection_DynamicArray< NCollection_List< occ::handle< BOPDS_PaveBlock > > > & ChangePaveBlocksPool ()
 Selector/Modifier Returns the information about pave blocks on source edges.
 
bool HasPaveBlocks (const int theIndex) const
 Query Returns true if the shape with index theIndex has the information about pave blocks.
 
const NCollection_List< occ::handle< BOPDS_PaveBlock > > & PaveBlocks (const int theIndex) const
 Selector Returns the pave blocks for the shape with index theIndex.
 
NCollection_List< occ::handle< BOPDS_PaveBlock > > & ChangePaveBlocks (const int theIndex)
 Selector/Modifier Returns the pave blocks for the shape with index theIndex.
 
void UpdatePaveBlocks ()
 Update the pave blocks for the all shapes in data structure.
 
void UpdatePaveBlock (const occ::handle< BOPDS_PaveBlock > &thePB)
 Update the pave block thePB.
 
void UpdateCommonBlock (const occ::handle< BOPDS_CommonBlock > &theCB, const double theFuzz)
 Update the common block theCB.
 
bool IsCommonBlock (const occ::handle< BOPDS_PaveBlock > &thePB) const
 Query Returns true if the pave block is common block.
 
occ::handle< BOPDS_CommonBlockCommonBlock (const occ::handle< BOPDS_PaveBlock > &thePB) const
 Selector Returns the common block.
 
void SetCommonBlock (const occ::handle< BOPDS_PaveBlock > &thePB, const occ::handle< BOPDS_CommonBlock > &theCB)
 Modifier Sets the common block <theCB>
 
occ::handle< BOPDS_PaveBlockRealPaveBlock (const occ::handle< BOPDS_PaveBlock > &thePB) const
 Selector Returns the real first pave block.
 
bool IsCommonBlockOnEdge (const occ::handle< BOPDS_PaveBlock > &thePB) const
 Query Returns true if common block contains more then one pave block.
 
const NCollection_DynamicArray< BOPDS_FaceInfo > & FaceInfoPool () const
 Selector Returns the information about state of faces.
 
bool HasFaceInfo (const int theIndex) const
 Query Returns true if the shape with index theIndex has the information about state of face.
 
const BOPDS_FaceInfoFaceInfo (const int theIndex) const
 Selector Returns the state of face with index theIndex.
 
BOPDS_FaceInfoChangeFaceInfo (const int theIndex)
 Selector/Modifier Returns the state of face with index theIndex.
 
void UpdateFaceInfoIn (const int theIndex)
 Update the state In of face with index theIndex.
 
void UpdateFaceInfoIn (const NCollection_Map< int > &theFaces)
 Update the state IN for all faces in the given map.
 
void UpdateFaceInfoOn (const int theIndex)
 Update the state On of face with index theIndex.
 
void UpdateFaceInfoOn (const NCollection_Map< int > &theFaces)
 Update the state ON for all faces in the given map.
 
void FaceInfoOn (const int theIndex, NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > &theMPB, NCollection_Map< int > &theMVP)
 Selector Returns the state On [theMPB,theMVP] of face with index theIndex.
 
void FaceInfoIn (const int theIndex, NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > &theMPB, NCollection_Map< int > &theMVP)
 Selector Returns the state In [theMPB,theMVP] of face with index theIndex.
 
void AloneVertices (const int theFaceIndex, NCollection_List< int > &theVertexList) const
 Selector Returns the indices of alone vertices for the face with index theFaceIndex.
 
void RefineFaceInfoOn ()
 Refine the state On for the all faces having state information.
 
void RefineFaceInfoIn ()
 Removes any pave block from list of having IN state if it has also the state ON.
 
void SubShapesOnIn (const int theFaceIndex1, const int theFaceIndex2, NCollection_Map< int > &theMVOnIn, NCollection_Map< int > &theMVCommon, NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > &thePBOnIn, NCollection_Map< occ::handle< BOPDS_PaveBlock > > &theCommonPaveBlocks) const
 Returns information about ON/IN sub-shapes of the given faces.
 
void SharedEdges (const int theFaceIndex1, const int theFaceIndex2, NCollection_List< int > &theEdgeList, const occ::handle< NCollection_BaseAllocator > &theAllocator)
 Returns the indices of edges that are shared for the faces with indices theFaceIndex1 and theFaceIndex2.
 
NCollection_DataMap< int, int > & ShapesSD ()
 Selector Returns the collection same domain shapes.
 
void AddShapeSD (const int theIndex, const int theIndexSD)
 Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD.
 
bool HasShapeSD (const int theIndex, int &theIndexSD) const
 Query Returns true if the shape with index theIndex has the same domain shape. In this case theIndexSD will contain the index of same domain shape found.
 
int GetSameDomainIndex (const int theIndex) const
 Returns the index of same domain shape for the shape with index theIndex. If there is no same domain shape, returns theIndex itself.
 
NCollection_DynamicArray< BOPDS_InterfVV > & InterfVV ()
 Selector/Modifier Returns the collection of interferences Vertex/Vertex.
 
NCollection_DynamicArray< BOPDS_InterfVE > & InterfVE ()
 Selector/Modifier Returns the collection of interferences Vertex/Edge.
 
NCollection_DynamicArray< BOPDS_InterfVF > & InterfVF ()
 Selector/Modifier Returns the collection of interferences Vertex/Face.
 
NCollection_DynamicArray< BOPDS_InterfEE > & InterfEE ()
 Selector/Modifier Returns the collection of interferences Edge/Edge.
 
NCollection_DynamicArray< BOPDS_InterfEF > & InterfEF ()
 Selector/Modifier Returns the collection of interferences Edge/Face.
 
NCollection_DynamicArray< BOPDS_InterfFF > & InterfFF ()
 Selector/Modifier Returns the collection of interferences Face/Face.
 
NCollection_DynamicArray< BOPDS_InterfVZ > & InterfVZ ()
 Selector/Modifier Returns the collection of interferences Vertex/Solid.
 
NCollection_DynamicArray< BOPDS_InterfEZ > & InterfEZ ()
 Selector/Modifier Returns the collection of interferences Edge/Solid.
 
NCollection_DynamicArray< BOPDS_InterfFZ > & InterfFZ ()
 Selector/Modifier Returns the collection of interferences Face/Solid.
 
NCollection_DynamicArray< BOPDS_InterfZZ > & InterfZZ ()
 Selector/Modifier Returns the collection of interferences Solid/Solid.
 
bool AddInterf (const int theI1, const int theI2)
 Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences.
 
bool HasInterf (const int theI) const
 Query Returns true if the shape with index theI is interferred.
 
bool HasInterf (const int theI1, const int theI2) const
 Query Returns true if the shapes with indices theI1, theI2 are interferred.
 
bool HasInterfShapeSubShapes (const int theIndex1, const int theIndex2, const bool theAnyInterference=true) const
 Query Returns true if the shape with index theIndex1 is interfered with any sub-shape of the shape with index theIndex2 (theAnyInterference=true) all sub-shapes of the shape with index theIndex2 (theAnyInterference=false)
 
bool HasInterfSubShapes (const int theIndex1, const int theIndex2) const
 Query Returns true if the shapes with indices theIndex1, theIndex2 have interferred sub-shapes.
 
const NCollection_Map< BOPDS_Pair > & Interferences () const
 Selector Returns the table of interferences.
 
void Dump () const
 
bool IsSubShape (const int theCandidate, const int theParent)
 Returns true if the shape with index theCandidate is a sub-shape of the shape with index theParent.
 
void Paves (const int theIndex, NCollection_List< BOPDS_Pave > &theLP)
 Fills theLP with sorted paves of the shape with index theIndex.
 
void UpdatePaveBlocksWithSDVertices ()
 Update the pave blocks for all shapes in data structure.
 
void UpdatePaveBlockWithSDVertices (const occ::handle< BOPDS_PaveBlock > &thePB)
 Update the pave block for all shapes in data structure.
 
void UpdateCommonBlockWithSDVertices (const occ::handle< BOPDS_CommonBlock > &theCB)
 Update the pave block of the common block for all shapes in data structure.
 
void InitPaveBlocksForVertex (const int theNV)
 
void ReleasePaveBlocks ()
 Clears information about PaveBlocks for the untouched edges.
 
bool IsValidShrunkData (const occ::handle< BOPDS_PaveBlock > &thePB)
 Checks if the existing shrunk data of the pave block is still valid. The shrunk data may become invalid if e.g. the vertices of the pave block have been replaced with the new one with bigger tolerances, or the tolerances of the existing vertices have been increased.
 
void BuildBndBoxSolid (const int theIndex, Bnd_Box &theBox, const bool theCheckInverted=true)
 Computes bounding box <theBox> for the solid with DS-index <theIndex>. The flag <theCheckInverted> enables/disables the check of the solid for inverted status. By default the solids will be checked.
 

Static Public Member Functions

static int NbInterfTypes ()
 Returns the number of types of the interferences.
 

Detailed Description

The class BOPDS_DS provides the control of data structure for the algorithms in the Boolean Component such as General Fuse, Boolean operations, Section, Maker Volume, Splitter and Cells Builder.

The data structure has the following contents:

  1. the arguments of an operation [myArguments];
  2. the information about arguments/new shapes and their sub-shapes (type of the shape, bounding box, etc) [myLines];
  3. each argument shape(and its subshapes) has/have own range of indices (rank);
  4. pave blocks on source edges [myPaveBlocksPool];
  5. the state of source faces [myFaceInfoPool];
  6. the collection of same domain shapes [myShapesSD];
  7. the collection of interferences [myInterfTB, myInterfVV,..myInterfFF]

Constructor & Destructor Documentation

◆ BOPDS_DS() [1/2]

BOPDS_DS::BOPDS_DS ( )

Empty constructor.

◆ ~BOPDS_DS()

virtual BOPDS_DS::~BOPDS_DS ( )
virtual

◆ BOPDS_DS() [2/2]

BOPDS_DS::BOPDS_DS ( const occ::handle< NCollection_BaseAllocator > & theAllocator)

Constructor.

Parameters
theAllocatorthe allocator to manage the memory

Member Function Documentation

◆ AddInterf()

bool BOPDS_DS::AddInterf ( const int theI1,
const int theI2 )

Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences.

◆ AddShapeSD()

void BOPDS_DS::AddShapeSD ( const int theIndex,
const int theIndexSD )

Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD.

◆ Allocator()

const occ::handle< NCollection_BaseAllocator > & BOPDS_DS::Allocator ( ) const

Selector.

◆ AloneVertices()

void BOPDS_DS::AloneVertices ( const int theFaceIndex,
NCollection_List< int > & theVertexList ) const

Selector Returns the indices of alone vertices for the face with index theFaceIndex.

◆ Append() [1/2]

int BOPDS_DS::Append ( const BOPDS_ShapeInfo & theSI)

Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure.

◆ Append() [2/2]

int BOPDS_DS::Append ( const TopoDS_Shape & theS)

Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure.

◆ Arguments()

const NCollection_List< TopoDS_Shape > & BOPDS_DS::Arguments ( ) const

Selector Returns the arguments of an operation.

◆ BuildBndBoxSolid()

void BOPDS_DS::BuildBndBoxSolid ( const int theIndex,
Bnd_Box & theBox,
const bool theCheckInverted = true )

Computes bounding box <theBox> for the solid with DS-index <theIndex>. The flag <theCheckInverted> enables/disables the check of the solid for inverted status. By default the solids will be checked.

◆ ChangeFaceInfo()

BOPDS_FaceInfo & BOPDS_DS::ChangeFaceInfo ( const int theIndex)

Selector/Modifier Returns the state of face with index theIndex.

◆ ChangePaveBlocks()

NCollection_List< occ::handle< BOPDS_PaveBlock > > & BOPDS_DS::ChangePaveBlocks ( const int theIndex)

Selector/Modifier Returns the pave blocks for the shape with index theIndex.

◆ ChangePaveBlocksPool()

NCollection_DynamicArray< NCollection_List< occ::handle< BOPDS_PaveBlock > > > & BOPDS_DS::ChangePaveBlocksPool ( )

Selector/Modifier Returns the information about pave blocks on source edges.

◆ ChangeShapeInfo()

BOPDS_ShapeInfo & BOPDS_DS::ChangeShapeInfo ( const int theIndex)

Selector/Modifier Returns the information about the shape with index theIndex.

◆ Clear()

void BOPDS_DS::Clear ( )

Clears the contents.

◆ CommonBlock()

occ::handle< BOPDS_CommonBlock > BOPDS_DS::CommonBlock ( const occ::handle< BOPDS_PaveBlock > & thePB) const

Selector Returns the common block.

◆ Dump()

void BOPDS_DS::Dump ( ) const

◆ FaceInfo()

const BOPDS_FaceInfo & BOPDS_DS::FaceInfo ( const int theIndex) const

Selector Returns the state of face with index theIndex.

◆ FaceInfoIn()

void BOPDS_DS::FaceInfoIn ( const int theIndex,
NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > & theMPB,
NCollection_Map< int > & theMVP )

Selector Returns the state In [theMPB,theMVP] of face with index theIndex.

◆ FaceInfoOn()

void BOPDS_DS::FaceInfoOn ( const int theIndex,
NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > & theMPB,
NCollection_Map< int > & theMVP )

Selector Returns the state On [theMPB,theMVP] of face with index theIndex.

◆ FaceInfoPool()

const NCollection_DynamicArray< BOPDS_FaceInfo > & BOPDS_DS::FaceInfoPool ( ) const

Selector Returns the information about state of faces.

◆ GetSameDomainIndex()

int BOPDS_DS::GetSameDomainIndex ( const int theIndex) const

Returns the index of same domain shape for the shape with index theIndex. If there is no same domain shape, returns theIndex itself.

◆ HasFaceInfo()

bool BOPDS_DS::HasFaceInfo ( const int theIndex) const

Query Returns true if the shape with index theIndex has the information about state of face.

◆ HasInterf() [1/2]

bool BOPDS_DS::HasInterf ( const int theI) const

Query Returns true if the shape with index theI is interferred.

◆ HasInterf() [2/2]

bool BOPDS_DS::HasInterf ( const int theI1,
const int theI2 ) const

Query Returns true if the shapes with indices theI1, theI2 are interferred.

◆ HasInterfShapeSubShapes()

bool BOPDS_DS::HasInterfShapeSubShapes ( const int theIndex1,
const int theIndex2,
const bool theAnyInterference = true ) const

Query Returns true if the shape with index theIndex1 is interfered with any sub-shape of the shape with index theIndex2 (theAnyInterference=true) all sub-shapes of the shape with index theIndex2 (theAnyInterference=false)

◆ HasInterfSubShapes()

bool BOPDS_DS::HasInterfSubShapes ( const int theIndex1,
const int theIndex2 ) const

Query Returns true if the shapes with indices theIndex1, theIndex2 have interferred sub-shapes.

◆ HasPaveBlocks()

bool BOPDS_DS::HasPaveBlocks ( const int theIndex) const

Query Returns true if the shape with index theIndex has the information about pave blocks.

◆ HasShapeSD()

bool BOPDS_DS::HasShapeSD ( const int theIndex,
int & theIndexSD ) const

Query Returns true if the shape with index theIndex has the same domain shape. In this case theIndexSD will contain the index of same domain shape found.

interferences

◆ Index()

int BOPDS_DS::Index ( const TopoDS_Shape & theS) const

Selector Returns the index of the shape theS.

◆ Init()

void BOPDS_DS::Init ( const double theFuzz = Precision::Confusion())

Initializes the data structure for the arguments.

◆ InitPaveBlocksForVertex()

void BOPDS_DS::InitPaveBlocksForVertex ( const int theNV)

◆ InterfEE()

NCollection_DynamicArray< BOPDS_InterfEE > & BOPDS_DS::InterfEE ( )

Selector/Modifier Returns the collection of interferences Edge/Edge.

◆ InterfEF()

NCollection_DynamicArray< BOPDS_InterfEF > & BOPDS_DS::InterfEF ( )

Selector/Modifier Returns the collection of interferences Edge/Face.

◆ Interferences()

const NCollection_Map< BOPDS_Pair > & BOPDS_DS::Interferences ( ) const

Selector Returns the table of interferences.

debug

◆ InterfEZ()

NCollection_DynamicArray< BOPDS_InterfEZ > & BOPDS_DS::InterfEZ ( )

Selector/Modifier Returns the collection of interferences Edge/Solid.

◆ InterfFF()

NCollection_DynamicArray< BOPDS_InterfFF > & BOPDS_DS::InterfFF ( )

Selector/Modifier Returns the collection of interferences Face/Face.

◆ InterfFZ()

NCollection_DynamicArray< BOPDS_InterfFZ > & BOPDS_DS::InterfFZ ( )

Selector/Modifier Returns the collection of interferences Face/Solid.

◆ InterfVE()

NCollection_DynamicArray< BOPDS_InterfVE > & BOPDS_DS::InterfVE ( )

Selector/Modifier Returns the collection of interferences Vertex/Edge.

◆ InterfVF()

NCollection_DynamicArray< BOPDS_InterfVF > & BOPDS_DS::InterfVF ( )

Selector/Modifier Returns the collection of interferences Vertex/Face.

◆ InterfVV()

NCollection_DynamicArray< BOPDS_InterfVV > & BOPDS_DS::InterfVV ( )

Selector/Modifier Returns the collection of interferences Vertex/Vertex.

◆ InterfVZ()

NCollection_DynamicArray< BOPDS_InterfVZ > & BOPDS_DS::InterfVZ ( )

Selector/Modifier Returns the collection of interferences Vertex/Solid.

◆ InterfZZ()

NCollection_DynamicArray< BOPDS_InterfZZ > & BOPDS_DS::InterfZZ ( )

Selector/Modifier Returns the collection of interferences Solid/Solid.

◆ IsCommonBlock()

bool BOPDS_DS::IsCommonBlock ( const occ::handle< BOPDS_PaveBlock > & thePB) const

Query Returns true if the pave block is common block.

◆ IsCommonBlockOnEdge()

bool BOPDS_DS::IsCommonBlockOnEdge ( const occ::handle< BOPDS_PaveBlock > & thePB) const

Query Returns true if common block contains more then one pave block.

◆ IsNewShape()

bool BOPDS_DS::IsNewShape ( const int theIndex) const

Returns true if the shape of index "i" is not the source shape/sub-shape.

◆ IsSubShape()

bool BOPDS_DS::IsSubShape ( const int theCandidate,
const int theParent )

Returns true if the shape with index theCandidate is a sub-shape of the shape with index theParent.

◆ IsValidShrunkData()

bool BOPDS_DS::IsValidShrunkData ( const occ::handle< BOPDS_PaveBlock > & thePB)

Checks if the existing shrunk data of the pave block is still valid. The shrunk data may become invalid if e.g. the vertices of the pave block have been replaced with the new one with bigger tolerances, or the tolerances of the existing vertices have been increased.

◆ NbInterfTypes()

static int BOPDS_DS::NbInterfTypes ( )
static

Returns the number of types of the interferences.

◆ NbRanges()

int BOPDS_DS::NbRanges ( ) const

Selector Returns the number of index ranges.

◆ NbShapes()

int BOPDS_DS::NbShapes ( ) const

Selector Returns the total number of shapes stored.

◆ NbSourceShapes()

int BOPDS_DS::NbSourceShapes ( ) const

Selector Returns the total number of source shapes stored.

◆ PaveBlocks()

const NCollection_List< occ::handle< BOPDS_PaveBlock > > & BOPDS_DS::PaveBlocks ( const int theIndex) const

Selector Returns the pave blocks for the shape with index theIndex.

◆ PaveBlocksPool()

const NCollection_DynamicArray< NCollection_List< occ::handle< BOPDS_PaveBlock > > > & BOPDS_DS::PaveBlocksPool ( ) const

Selector Returns the information about pave blocks on source edges.

◆ Paves()

void BOPDS_DS::Paves ( const int theIndex,
NCollection_List< BOPDS_Pave > & theLP )

Fills theLP with sorted paves of the shape with index theIndex.

◆ Range()

const BOPDS_IndexRange & BOPDS_DS::Range ( const int theIndex) const

Selector Returns the index range "i".

◆ Rank()

int BOPDS_DS::Rank ( const int theIndex) const

Selector Returns the rank of the shape of index "i".

◆ RealPaveBlock()

occ::handle< BOPDS_PaveBlock > BOPDS_DS::RealPaveBlock ( const occ::handle< BOPDS_PaveBlock > & thePB) const

Selector Returns the real first pave block.

◆ RefineFaceInfoIn()

void BOPDS_DS::RefineFaceInfoIn ( )

Removes any pave block from list of having IN state if it has also the state ON.

◆ RefineFaceInfoOn()

void BOPDS_DS::RefineFaceInfoOn ( )

Refine the state On for the all faces having state information.

++

◆ ReleasePaveBlocks()

void BOPDS_DS::ReleasePaveBlocks ( )

Clears information about PaveBlocks for the untouched edges.

◆ SetArguments()

void BOPDS_DS::SetArguments ( const NCollection_List< TopoDS_Shape > & theLS)

Modifier Sets the arguments [theLS] of an operation.

◆ SetCommonBlock()

void BOPDS_DS::SetCommonBlock ( const occ::handle< BOPDS_PaveBlock > & thePB,
const occ::handle< BOPDS_CommonBlock > & theCB )

Modifier Sets the common block <theCB>

◆ Shape()

const TopoDS_Shape & BOPDS_DS::Shape ( const int theIndex) const

Selector Returns the shape with index theIndex.

◆ ShapeInfo()

const BOPDS_ShapeInfo & BOPDS_DS::ShapeInfo ( const int theIndex) const

Selector Returns the information about the shape with index theIndex.

◆ ShapesSD()

NCollection_DataMap< int, int > & BOPDS_DS::ShapesSD ( )

Selector Returns the collection same domain shapes.

◆ SharedEdges()

void BOPDS_DS::SharedEdges ( const int theFaceIndex1,
const int theFaceIndex2,
NCollection_List< int > & theEdgeList,
const occ::handle< NCollection_BaseAllocator > & theAllocator )

Returns the indices of edges that are shared for the faces with indices theFaceIndex1 and theFaceIndex2.

◆ SubShapesOnIn()

void BOPDS_DS::SubShapesOnIn ( const int theFaceIndex1,
const int theFaceIndex2,
NCollection_Map< int > & theMVOnIn,
NCollection_Map< int > & theMVCommon,
NCollection_IndexedMap< occ::handle< BOPDS_PaveBlock > > & thePBOnIn,
NCollection_Map< occ::handle< BOPDS_PaveBlock > > & theCommonPaveBlocks ) const

Returns information about ON/IN sub-shapes of the given faces.

Parameters
theFaceIndex1the index of the first face
theFaceIndex2the index of the second face
theMVOnInthe indices of ON/IN vertices from both faces
theMVCommonthe indices of common vertices for both faces
thePBOnInall On/In pave blocks from both faces
theCommonPaveBlocksthe common pave blocks (that are shared by both faces).

◆ UpdateCommonBlock()

void BOPDS_DS::UpdateCommonBlock ( const occ::handle< BOPDS_CommonBlock > & theCB,
const double theFuzz )

Update the common block theCB.

◆ UpdateCommonBlockWithSDVertices()

void BOPDS_DS::UpdateCommonBlockWithSDVertices ( const occ::handle< BOPDS_CommonBlock > & theCB)

Update the pave block of the common block for all shapes in data structure.

◆ UpdateFaceInfoIn() [1/2]

void BOPDS_DS::UpdateFaceInfoIn ( const int theIndex)

Update the state In of face with index theIndex.

◆ UpdateFaceInfoIn() [2/2]

void BOPDS_DS::UpdateFaceInfoIn ( const NCollection_Map< int > & theFaces)

Update the state IN for all faces in the given map.

◆ UpdateFaceInfoOn() [1/2]

void BOPDS_DS::UpdateFaceInfoOn ( const int theIndex)

Update the state On of face with index theIndex.

◆ UpdateFaceInfoOn() [2/2]

void BOPDS_DS::UpdateFaceInfoOn ( const NCollection_Map< int > & theFaces)

Update the state ON for all faces in the given map.

◆ UpdatePaveBlock()

void BOPDS_DS::UpdatePaveBlock ( const occ::handle< BOPDS_PaveBlock > & thePB)

Update the pave block thePB.

◆ UpdatePaveBlocks()

void BOPDS_DS::UpdatePaveBlocks ( )

Update the pave blocks for the all shapes in data structure.

◆ UpdatePaveBlocksWithSDVertices()

void BOPDS_DS::UpdatePaveBlocksWithSDVertices ( )

Update the pave blocks for all shapes in data structure.

◆ UpdatePaveBlockWithSDVertices()

void BOPDS_DS::UpdatePaveBlockWithSDVertices ( const occ::handle< BOPDS_PaveBlock > & thePB)

Update the pave block for all shapes in data structure.


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