1 -- File: BRepAlgo_Loop.cdl
2 -- Created: Fri Nov 10 15:58:31 1995
3 -- Author: Yves FRICAUD
5 ---Copyright: Matra Datavision 1995
8 class Loop from BRepAlgo
10 ---Purpose: Builds the loops from a set of edges on a face.
16 ListOfShape from TopTools,
17 DataMapOfShapeListOfShape from TopTools,
18 DataMapOfShapeShape from TopTools
24 Init (me : in out; F : Face from TopoDS)
25 ---Purpose: Init with <F> the set of edges must have
29 AddEdge (me : in out; E : in out Edge from TopoDS;
30 LV : ListOfShape from TopTools)
31 ---Purpose: Add E with <LV>. <E> will be copied and trim
32 -- by vertices in <LV>.
35 AddConstEdge (me : in out; E : Edge from TopoDS)
36 ---Purpose: Add <E> as const edge, E can be in the result.
39 AddConstEdges (me : in out; LE : ListOfShape from TopTools)
40 ---Purpose: Add <LE> as a set of const edges.
44 ---Purpose: Make loops.
49 VonE : ListOfShape from TopTools;
50 NE : in out ListOfShape from TopTools)
51 ---Purpose: Cut the edge <E> in several edges <NE> on the
56 ---Purpose: Returns the list of wires performed.
57 -- can be an empty list.
58 ---C++: return const &
59 returns ListOfShape from TopTools;
61 WiresToFaces (me : in out)
62 ---Purpose: Build faces from the wires result.
66 ---Purpose: Returns the list of faces.
67 -- Warning: The method <WiresToFaces> as to be called before.
68 -- can be an empty list.
69 ---C++: return const &
70 returns ListOfShape from TopTools;
72 NewEdges (me ; E : Edge from TopoDS)
73 ---Purpose: Returns the list of new edges built from an edge <E>
74 -- it can be an empty list.
75 ---C++: return const &
76 returns ListOfShape from TopTools;
78 GetVerticesForSubstitute (me; VerVerMap: out DataMapOfShapeShape from TopTools);
79 ---Purpose: Returns the datamap of vertices with their substitutes.
81 VerticesForSubstitute (me : in out; VerVerMap: in out DataMapOfShapeShape from TopTools);
86 myFace : Face from TopoDS;
87 myConstEdges : ListOfShape from TopTools;
88 myVerOnEdges : DataMapOfShapeListOfShape from TopTools;
89 myNewWires : ListOfShape from TopTools;
90 myNewFaces : ListOfShape from TopTools;
91 myNewEdges : DataMapOfShapeListOfShape from TopTools;
93 myVerticesForSubstitute : DataMapOfShapeShape from TopTools;