Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
TopOpeBRepBuild_ShellFaceSet Class Reference

a bound is a shell, a boundelement is a face. The ShapeSet stores : More...

#include <TopOpeBRepBuild_ShellFaceSet.hxx>

Inheritance diagram for TopOpeBRepBuild_ShellFaceSet:

Public Member Functions

 TopOpeBRepBuild_ShellFaceSet ()
 Creates a ShellFaceSet to build blocks of faces connected by edges.
 TopOpeBRepBuild_ShellFaceSet (const TopoDS_Shape &S, void *const Addr=nullptr)
 Creates a ShellFaceSet to build blocks of faces connected by edges.
const TopoDS_Solid & Solid () const
void AddShape (const TopoDS_Shape &S) override
 Adds to the list of shapes. (wires or shells).
void AddStartElement (const TopoDS_Shape &S) override
 (S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S).
void AddElement (const TopoDS_Shape &S) override
 for each subshape SE of S of type mySubShapeType
void DumpSS () override
TCollection_AsciiString SName (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
TCollection_AsciiString SName (const NCollection_List< TopoDS_Shape > &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
TCollection_AsciiString SNameori (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
TCollection_AsciiString SNameori (const NCollection_List< TopoDS_Shape > &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
Public Member Functions inherited from TopOpeBRepBuild_ShapeSet
 TopOpeBRepBuild_ShapeSet (const TopAbs_ShapeEnum SubShapeType, const bool checkshape=true)
 Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. <checkshape>:check (or not) the shapes, startelements, elements added.
virtual ~TopOpeBRepBuild_ShapeSet ()
const NCollection_List< TopoDS_Shape > & StartElements () const
 return a reference on myStartShapes
void InitShapes ()
bool MoreShapes () const
void NextShape ()
const TopoDS_Shape & Shape () const
void InitStartElements ()
bool MoreStartElements () const
void NextStartElement ()
const TopoDS_Shape & StartElement () const
virtual void InitNeighbours (const TopoDS_Shape &S)
bool MoreNeighbours ()
void NextNeighbour ()
const TopoDS_Shape & Neighbour () const
NCollection_List< TopoDS_Shape > & ChangeStartShapes ()
virtual void FindNeighbours ()
 Build the list of neighbour shapes of myCurrentShape (neighbour shapes and myCurrentShapes are of type t) Initialize myIncidentShapesIter on neighbour shapes.
virtual const NCollection_List< TopoDS_Shape > & MakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V)
int MaxNumberSubShape (const TopoDS_Shape &Shape)
void CheckShape (const bool checkshape)
bool CheckShape () const
bool CheckShape (const TopoDS_Shape &S, const bool checkgeom=false)
void DumpName (Standard_OStream &OS, const TCollection_AsciiString &str) const
void DumpCheck (Standard_OStream &OS, const TCollection_AsciiString &str, const TopoDS_Shape &S, const bool chk) const
virtual void DumpBB ()
void DEBName (const TCollection_AsciiString &N)
const TCollection_AsciiString & DEBName () const
void DEBNumber (const int I)
int DEBNumber () const

Additional Inherited Members

Protected Member Functions inherited from TopOpeBRepBuild_ShapeSet
void ProcessAddShape (const TopoDS_Shape &S)
void ProcessAddStartElement (const TopoDS_Shape &S)
void ProcessAddElement (const TopoDS_Shape &S)
Protected Attributes inherited from TopOpeBRepBuild_ShapeSet
TopAbs_ShapeEnum myShapeType
TopAbs_ShapeEnum mySubShapeType
TopOpeBRepTool_ShapeExplorer mySubShapeExplorer
NCollection_List< TopoDS_Shape > myStartShapes
NCollection_List< TopoDS_Shape >::Iterator myStartShapesIter
NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > mySubShapeMap
NCollection_List< TopoDS_Shape >::Iterator myIncidentShapesIter
NCollection_List< TopoDS_Shape > myShapes
NCollection_List< TopoDS_Shape >::Iterator myShapesIter
TopoDS_Shape myCurrentShape
NCollection_List< TopoDS_Shape > myCurrentShapeNeighbours
int myDEBNumber
TCollection_AsciiString myDEBName
NCollection_IndexedMap< TopoDS_Shape > myOMSS
NCollection_IndexedMap< TopoDS_Shape > myOMES
NCollection_IndexedMap< TopoDS_Shape > myOMSH
bool myCheckShape

Detailed Description

a bound is a shell, a boundelement is a face. The ShapeSet stores :

  • a list of shell (bounds),
  • a list of face (boundelements) to start reconstructions,
  • a map of edge giving the list of face incident to an edge.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_ShellFaceSet() [1/2]

TopOpeBRepBuild_ShellFaceSet::TopOpeBRepBuild_ShellFaceSet ( )

Creates a ShellFaceSet to build blocks of faces connected by edges.

◆ TopOpeBRepBuild_ShellFaceSet() [2/2]

TopOpeBRepBuild_ShellFaceSet::TopOpeBRepBuild_ShellFaceSet ( const TopoDS_Shape & S,
void *const Addr = nullptr )

Creates a ShellFaceSet to build blocks of faces connected by edges.

Member Function Documentation

◆ AddElement()

void TopOpeBRepBuild_ShellFaceSet::AddElement ( const TopoDS_Shape & S)
overridevirtual

for each subshape SE of S of type mySubShapeType

  • Add subshapes of S to the map of subshapes (mySubShapeMap)
  • Add S to the list of shape incident to subshapes of S.

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ AddShape()

void TopOpeBRepBuild_ShellFaceSet::AddShape ( const TopoDS_Shape & S)
overridevirtual

Adds to the list of shapes. (wires or shells).

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ AddStartElement()

void TopOpeBRepBuild_ShellFaceSet::AddStartElement ( const TopoDS_Shape & S)
overridevirtual

(S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S).

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ DumpSS()

void TopOpeBRepBuild_ShellFaceSet::DumpSS ( )
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SName() [1/2]

TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName ( const NCollection_List< TopoDS_Shape > & S,
const TCollection_AsciiString & sb = "",
const TCollection_AsciiString & sa = "" ) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SName() [2/2]

TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName ( const TopoDS_Shape & S,
const TCollection_AsciiString & sb = "",
const TCollection_AsciiString & sa = "" ) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SNameori() [1/2]

TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori ( const NCollection_List< TopoDS_Shape > & S,
const TCollection_AsciiString & sb = "",
const TCollection_AsciiString & sa = "" ) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SNameori() [2/2]

TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori ( const TopoDS_Shape & S,
const TCollection_AsciiString & sb = "",
const TCollection_AsciiString & sa = "" ) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ Solid()

const TopoDS_Solid & TopOpeBRepBuild_ShellFaceSet::Solid ( ) const

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