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

a bound is a wire, a boundelement is an edge. The ShapeSet stores : More...

#include <TopOpeBRepBuild_WireEdgeSet.hxx>

Inheritance diagram for TopOpeBRepBuild_WireEdgeSet:

Public Member Functions

 TopOpeBRepBuild_WireEdgeSet (const TopoDS_Shape &F, void *const Addr=nullptr)
 Creates a WireEdgeSet to build edges connected by vertices on face F. Edges of the WireEdgeSet must have a representation on surface of face F.
const TopoDS_Face & Face () const
 value of field myFace
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 InitNeighbours (const TopoDS_Shape &E) override
void FindNeighbours () override
 Build the list of neighbour edges of edge myCurrentShape Initialize iterator of neighbour edges to edge myCurrentShape.
const NCollection_List< TopoDS_Shape > & MakeNeighboursList (const TopoDS_Shape &E, const TopoDS_Shape &V) override
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
bool MoreNeighbours ()
void NextNeighbour ()
const TopoDS_Shape & Neighbour () const
NCollection_List< TopoDS_Shape > & ChangeStartShapes ()
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

Static Public Member Functions

static void IsUVISO (const TopoDS_Edge &E, const TopoDS_Face &F, bool &uiso, bool &viso)

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 wire, a boundelement is an edge. The ShapeSet stores :

  • a list of wire (bounds),
  • a list of edge (boundelements) to start reconstructions,
  • a map of vertex giving the list of edge incident to a vertex.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_WireEdgeSet()

TopOpeBRepBuild_WireEdgeSet::TopOpeBRepBuild_WireEdgeSet ( const TopoDS_Shape & F,
void *const Addr = nullptr )

Creates a WireEdgeSet to build edges connected by vertices on face F. Edges of the WireEdgeSet must have a representation on surface of face F.

Member Function Documentation

◆ AddElement()

void TopOpeBRepBuild_WireEdgeSet::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_WireEdgeSet::AddShape ( const TopoDS_Shape & S)
overridevirtual

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

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ AddStartElement()

void TopOpeBRepBuild_WireEdgeSet::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_WireEdgeSet::DumpSS ( )
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ Face()

const TopoDS_Face & TopOpeBRepBuild_WireEdgeSet::Face ( ) const

value of field myFace

◆ FindNeighbours()

void TopOpeBRepBuild_WireEdgeSet::FindNeighbours ( )
overridevirtual

Build the list of neighbour edges of edge myCurrentShape Initialize iterator of neighbour edges to edge myCurrentShape.

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ InitNeighbours()

void TopOpeBRepBuild_WireEdgeSet::InitNeighbours ( const TopoDS_Shape & E)
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ IsUVISO()

void TopOpeBRepBuild_WireEdgeSet::IsUVISO ( const TopoDS_Edge & E,
const TopoDS_Face & F,
bool & uiso,
bool & viso )
static

◆ MakeNeighboursList()

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_WireEdgeSet::MakeNeighboursList ( const TopoDS_Shape & E,
const TopoDS_Shape & V )
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.

◆ SName() [1/2]

TCollection_AsciiString TopOpeBRepBuild_WireEdgeSet::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_WireEdgeSet::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_WireEdgeSet::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_WireEdgeSet::SNameori ( const TopoDS_Shape & S,
const TCollection_AsciiString & sb = "",
const TCollection_AsciiString & sa = "" ) const
overridevirtual

Reimplemented from TopOpeBRepBuild_ShapeSet.


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