1 -- File : Partition_Loop.cdl
2 -- Created: Thu Aug 02 16:07:39 2001
3 -- Author : Benedicte MARTIN
5 ---Copyright: Matra Datavision 2001
8 class Loop from Partition
10 ---Purpose: Builds the loops from a set of edges on a face.
16 ListOfShape from TopTools,
17 DataMapOfShapeListOfShape from TopTools
23 Init (me : in out; F : Face from TopoDS)
24 ---Purpose: Init with <F> the set of edges must have
28 AddEdge (me : in out; E : in out Edge from TopoDS;
29 LV : ListOfShape from TopTools)
30 ---Purpose: Add E with <LV>. <E> will be copied and trim
31 -- by vertices in <LV>.
34 AddConstEdge (me : in out; E : Edge from TopoDS)
35 ---Purpose: Add <E> as const edge, E can be in the result.
39 ---Purpose: Make loops.
43 ---Purpose: Returns the list of wires performed.
44 -- can be an empty list.
45 ---C++: return const &
46 returns ListOfShape from TopTools;
48 WiresToFaces (me : in out)
49 ---Purpose: Build faces from the wires result.
53 ---Purpose: Returns the list of faces.
54 ---Warning: The method <WiresToFaces> as to be called before.
55 -- can be an empty list.
56 ---C++: return const &
57 returns ListOfShape from TopTools;
62 myFace : Face from TopoDS;
63 myConstEdges : ListOfShape from TopTools;
64 myNewWires : ListOfShape from TopTools;
65 myNewFaces : ListOfShape from TopTools;