7fd59977 |
1 | -- File: HLRBRep_ShapeToHLR.cdl |
2 | -- Created: Tue May 4 16:52:14 1993 |
3 | -- Author: Modelistation |
4 | -- <model@phylox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | class ShapeToHLR from HLRBRep |
8 | |
9 | ---Purpose: compute the OutLinedShape of a Shape with an |
10 | -- OutLiner, a Projector and create the Data |
11 | -- Structure of a Shape. |
12 | |
13 | uses |
14 | Shape from TopoDS, |
15 | Face from TopoDS, |
16 | IndexedMapOfShape from TopTools, |
17 | OutLiner from HLRTopoBRep, |
18 | Projector from HLRAlgo, |
19 | Data from HLRBRep, |
20 | MapOfShapeTool from BRepTopAdaptor |
21 | |
22 | is |
23 | Load(myclass; S : OutLiner from HLRTopoBRep; |
24 | P : Projector from HLRAlgo; |
25 | MST : in out MapOfShapeTool from BRepTopAdaptor; |
26 | nbIso : Integer from Standard = 0) |
27 | returns Data from HLRBRep; |
28 | ---Purpose: Creates a DataStructure containing the OutLiner |
29 | -- <S> depending on the projector <P> and nbIso. |
30 | |
31 | ExploreFace(myclass; |
32 | S : OutLiner from HLRTopoBRep; |
33 | DS : mutable Data from HLRBRep; |
34 | FM : IndexedMapOfShape from TopTools; |
35 | EM : IndexedMapOfShape from TopTools; |
36 | i : in out Integer from Standard; |
37 | F : Face from TopoDS; |
38 | closed : Boolean from Standard) |
39 | is private; |
40 | |
41 | ExploreShape(myclass; |
42 | S : OutLiner from HLRTopoBRep; |
43 | DS : mutable Data from HLRBRep; |
44 | FM : IndexedMapOfShape from TopTools; |
45 | EM : IndexedMapOfShape from TopTools) |
46 | is private; |
47 | |
48 | end ShapeToHLR; |