Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepAlgo_Loop Class Reference

Builds the loops from a set of edges on a face. More...

#include <BRepAlgo_Loop.hxx>

Public Member Functions

 BRepAlgo_Loop ()
 
void Init (const TopoDS_Face &F)
 Init with <F> the set of edges must have pcurves on <F>.
 
void AddEdge (TopoDS_Edge &E, const NCollection_List< TopoDS_Shape > &LV)
 Add E with <LV>. <E> will be copied and trim by vertices in <LV>.
 
void AddConstEdge (const TopoDS_Edge &E)
 Add <E> as const edge, E can be in the result.
 
void AddConstEdges (const NCollection_List< TopoDS_Shape > &LE)
 Add <LE> as a set of const edges.
 
void SetImageVV (const BRepAlgo_Image &theImageVV)
 Sets the Image Vertex - Vertex.
 
void Perform ()
 Make loops.
 
void UpdateVEmap (NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &theVEmap)
 Update VE map according to Image Vertex - Vertex.
 
void CutEdge (const TopoDS_Edge &E, const NCollection_List< TopoDS_Shape > &VonE, NCollection_List< TopoDS_Shape > &NE) const
 Cut the edge <E> in several edges <NE> on the vertices<VonE>.
 
const NCollection_List< TopoDS_Shape > & NewWires () const
 Returns the list of wires performed. can be an empty list.
 
void WiresToFaces ()
 Build faces from the wires result.
 
const NCollection_List< TopoDS_Shape > & NewFaces () const
 Returns the list of faces. Warning: The method <WiresToFaces> as to be called before. can be an empty list.
 
const NCollection_List< TopoDS_Shape > & NewEdges (const TopoDS_Edge &E) const
 Returns the list of new edges built from an edge <E> it can be an empty list.
 
void GetVerticesForSubstitute (NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &VerVerMap) const
 Returns the datamap of vertices with their substitutes.
 
void VerticesForSubstitute (NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &VerVerMap)
 
void SetTolConf (const double theTolConf)
 Set maximal tolerance used for comparing distances between vertices.
 
double GetTolConf () const
 Get maximal tolerance used for comparing distances between vertices.
 

Detailed Description

Builds the loops from a set of edges on a face.

Constructor & Destructor Documentation

◆ BRepAlgo_Loop()

BRepAlgo_Loop::BRepAlgo_Loop ( )

Member Function Documentation

◆ AddConstEdge()

void BRepAlgo_Loop::AddConstEdge ( const TopoDS_Edge & E)

Add <E> as const edge, E can be in the result.

◆ AddConstEdges()

void BRepAlgo_Loop::AddConstEdges ( const NCollection_List< TopoDS_Shape > & LE)

Add <LE> as a set of const edges.

◆ AddEdge()

void BRepAlgo_Loop::AddEdge ( TopoDS_Edge & E,
const NCollection_List< TopoDS_Shape > & LV )

Add E with <LV>. <E> will be copied and trim by vertices in <LV>.

◆ CutEdge()

void BRepAlgo_Loop::CutEdge ( const TopoDS_Edge & E,
const NCollection_List< TopoDS_Shape > & VonE,
NCollection_List< TopoDS_Shape > & NE ) const

Cut the edge <E> in several edges <NE> on the vertices<VonE>.

◆ GetTolConf()

double BRepAlgo_Loop::GetTolConf ( ) const
inline

Get maximal tolerance used for comparing distances between vertices.

◆ GetVerticesForSubstitute()

void BRepAlgo_Loop::GetVerticesForSubstitute ( NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & VerVerMap) const

Returns the datamap of vertices with their substitutes.

◆ Init()

void BRepAlgo_Loop::Init ( const TopoDS_Face & F)

Init with <F> the set of edges must have pcurves on <F>.

◆ NewEdges()

const NCollection_List< TopoDS_Shape > & BRepAlgo_Loop::NewEdges ( const TopoDS_Edge & E) const

Returns the list of new edges built from an edge <E> it can be an empty list.

◆ NewFaces()

const NCollection_List< TopoDS_Shape > & BRepAlgo_Loop::NewFaces ( ) const

Returns the list of faces. Warning: The method <WiresToFaces> as to be called before. can be an empty list.

◆ NewWires()

const NCollection_List< TopoDS_Shape > & BRepAlgo_Loop::NewWires ( ) const

Returns the list of wires performed. can be an empty list.

◆ Perform()

void BRepAlgo_Loop::Perform ( )

Make loops.

◆ SetImageVV()

void BRepAlgo_Loop::SetImageVV ( const BRepAlgo_Image & theImageVV)

Sets the Image Vertex - Vertex.

◆ SetTolConf()

void BRepAlgo_Loop::SetTolConf ( const double theTolConf)
inline

Set maximal tolerance used for comparing distances between vertices.

◆ UpdateVEmap()

Update VE map according to Image Vertex - Vertex.

◆ VerticesForSubstitute()

void BRepAlgo_Loop::VerticesForSubstitute ( NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & VerVerMap)

◆ WiresToFaces()

void BRepAlgo_Loop::WiresToFaces ( )

Build faces from the wires result.


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