Open CASCADE Technology  7.4.0
Public Member Functions

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:
Inheritance graph
[legend]

Public Member Functions

 TopOpeBRepBuild_ShellFaceSet ()
 Creates a ShellFaceSet to build blocks of faces connected by edges. More...
 
 TopOpeBRepBuild_ShellFaceSet (const TopoDS_Shape &S, const Standard_Address Addr=NULL)
 Creates a ShellFaceSet to build blocks of faces connected by edges. More...
 
const TopoDS_SolidSolid () const
 
virtual void AddShape (const TopoDS_Shape &S) override
 Adds <S> to the list of shapes. (wires or shells). More...
 
virtual 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). More...
 
virtual void AddElement (const TopoDS_Shape &S) override
 for each subshape SE of S of type mySubShapeType More...
 
virtual void DumpSS () override
 
virtual TCollection_AsciiString SName (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
 
virtual TCollection_AsciiString SName (const TopTools_ListOfShape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
 
virtual TCollection_AsciiString SNameori (const TopoDS_Shape &S, const TCollection_AsciiString &sb="", const TCollection_AsciiString &sa="") const override
 
virtual TCollection_AsciiString SNameori (const TopTools_ListOfShape &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 Standard_Boolean checkshape=Standard_True)
 Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. <checkshape>:check (or not) the shapes, startelements, elements added. More...
 
virtual ~TopOpeBRepBuild_ShapeSet ()
 
const TopTools_ListOfShapeStartElements () const
 return a reference on myStartShapes More...
 
void InitShapes ()
 
Standard_Boolean MoreShapes () const
 
void NextShape ()
 
const TopoDS_ShapeShape () const
 
void InitStartElements ()
 
Standard_Boolean MoreStartElements () const
 
void NextStartElement ()
 
const TopoDS_ShapeStartElement () const
 
virtual void InitNeighbours (const TopoDS_Shape &S)
 
Standard_Boolean MoreNeighbours ()
 
void NextNeighbour ()
 
const TopoDS_ShapeNeighbour () const
 
TopTools_ListOfShapeChangeStartShapes ()
 
virtual void FindNeighbours ()
 Build the list of neighbour shapes of myCurrentShape (neighbour shapes and myCurrentShapes are of type t) Initialize myIncidentShapesIter on neighbour shapes. More...
 
virtual const TopTools_ListOfShapeMakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V)
 
Standard_Integer MaxNumberSubShape (const TopoDS_Shape &Shape)
 
void CheckShape (const Standard_Boolean checkshape)
 
Standard_Boolean CheckShape () const
 
Standard_Boolean CheckShape (const TopoDS_Shape &S, const Standard_Boolean checkgeom=Standard_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 Standard_Boolean chk) const
 
virtual void DumpBB ()
 
void DEBName (const TCollection_AsciiString &N)
 
const TCollection_AsciiStringDEBName () const
 
void DEBNumber (const Standard_Integer I)
 
Standard_Integer 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
 
TopTools_ListOfShape myStartShapes
 
TopTools_ListIteratorOfListOfShape myStartShapesIter
 
TopTools_IndexedDataMapOfShapeListOfShape mySubShapeMap
 
TopTools_ListIteratorOfListOfShape myIncidentShapesIter
 
TopTools_ListOfShape myShapes
 
TopTools_ListIteratorOfListOfShape myShapesIter
 
TopoDS_Shape myCurrentShape
 
TopTools_ListOfShape myCurrentShapeNeighbours
 
Standard_Integer myDEBNumber
 
TCollection_AsciiString myDEBName
 
TopTools_IndexedMapOfOrientedShape myOMSS
 
TopTools_IndexedMapOfOrientedShape myOMES
 
TopTools_IndexedMapOfOrientedShape myOMSH
 
Standard_Boolean myCheckShape
 

Detailed Description

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

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,
const Standard_Address  Addr = NULL 
)

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

Member Function Documentation

◆ AddElement()

virtual 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()

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

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

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ AddStartElement()

virtual 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()

virtual void TopOpeBRepBuild_ShellFaceSet::DumpSS ( )
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SName() [1/2]

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

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SName() [2/2]

virtual TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SName ( const TopTools_ListOfShape S,
const TCollection_AsciiString sb = "",
const TCollection_AsciiString sa = "" 
) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SNameori() [1/2]

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

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SNameori() [2/2]

virtual TCollection_AsciiString TopOpeBRepBuild_ShellFaceSet::SNameori ( const TopTools_ListOfShape 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: