Commit | Line | Data |
---|---|---|
7fd59977 | 1 | -- File: BRepOffset_Inter3d.cdl |
2 | -- Created: Fri Aug 30 10:23:06 1996 | |
3 | -- Author: Yves FRICAUD | |
4 | -- <yfr@claquox.paris1.matra-dtv.fr> | |
5 | ---Copyright: Matra Datavision 1996 | |
6 | ||
7 | ||
8 | class Inter3d from BRepOffset | |
9 | ||
10 | ---Purpose: Computes the intersection face face in a set of faces | |
11 | -- Store the result in a SD as AsDes. | |
12 | ||
13 | uses | |
14 | AsDes from BRepAlgo, | |
15 | Image from BRepAlgo, | |
16 | Analyse from BRepOffset, | |
17 | DataMapOfShapeOffset from BRepOffset, | |
18 | Shape from TopoDS, | |
19 | Face from TopoDS, | |
20 | ListOfShape from TopTools, | |
975ec82a J |
21 | --MapOfShape from TopTools, |
22 | IndexedMapOfShape from TopTools, | |
7fd59977 | 23 | DataMapOfShapeShape from TopTools, |
24 | DataMapOfShapeListOfShape from TopTools, | |
25 | Real from Standard, | |
26 | State from TopAbs | |
27 | ||
28 | is | |
29 | Create(AsDes : mutable AsDes from BRepAlgo; | |
30 | Side : State from TopAbs; | |
31 | Tol : Real from Standard); | |
32 | ||
33 | CompletInt (me : in out; SetOfFaces : ListOfShape from TopTools; | |
34 | InitOffsetFace : Image from BRepAlgo ) | |
35 | is static; | |
36 | ||
37 | FaceInter (me : in out; | |
38 | F1, F2 : Face from TopoDS; | |
39 | InitOffsetFace : Image from BRepAlgo) | |
40 | is static; | |
41 | ||
42 | ConnexIntByArc(me : in out; | |
43 | SetOfFaces : ListOfShape from TopTools; | |
44 | ShapeInit : Shape from TopoDS; | |
45 | Analyse : Analyse from BRepOffset; | |
46 | InitOffsetFace : Image from BRepAlgo) | |
47 | is static; | |
48 | ||
49 | ConnexIntByInt(me : in out; | |
50 | SI : Shape from TopoDS; | |
51 | MapSF : DataMapOfShapeOffset from BRepOffset; | |
52 | A : Analyse from BRepOffset; | |
53 | MES : in out DataMapOfShapeShape from TopTools; | |
54 | Build : in out DataMapOfShapeShape from TopTools; | |
55 | Failed : in out ListOfShape from TopTools) | |
56 | is static; | |
57 | ||
58 | ContextIntByInt( me : in out; | |
975ec82a | 59 | ContextFaces : IndexedMapOfShape from TopTools; |
7fd59977 | 60 | ExtentContext : Boolean from Standard; |
61 | MapSF : DataMapOfShapeOffset from BRepOffset; | |
62 | A : Analyse from BRepOffset; | |
63 | MES : in out DataMapOfShapeShape from TopTools; | |
64 | Build : in out DataMapOfShapeShape from TopTools; | |
65 | Failed : in out ListOfShape from TopTools) | |
66 | is static; | |
67 | ||
68 | ContextIntByArc(me : in out; | |
975ec82a J |
69 | ContextFaces : IndexedMapOfShape from TopTools; |
70 | ExtentContext : Boolean from Standard; | |
71 | Analyse : Analyse from BRepOffset; | |
72 | InitOffsetFace : Image from BRepAlgo; | |
73 | InitOffsetEdge : in out Image from BRepAlgo) | |
7fd59977 | 74 | is static; |
75 | ||
76 | AddCommonEdges(me : in out; | |
77 | SetOfFaces : ListOfShape from TopTools) | |
78 | is static; | |
79 | ||
80 | SetDone(me : in out; F1,F2 : Face from TopoDS) | |
81 | is static; | |
82 | ||
83 | ---Category: Querying | |
84 | ||
85 | IsDone(me ; F1,F2 : Face from TopoDS) | |
86 | returns Boolean from Standard | |
87 | is static; | |
88 | ||
975ec82a | 89 | TouchedFaces(me : in out) returns IndexedMapOfShape from TopTools |
7fd59977 | 90 | ---C++: return & |
91 | is static; | |
92 | ||
93 | AsDes(me) returns AsDes from BRepAlgo | |
94 | is static; | |
95 | ||
975ec82a | 96 | NewEdges(me : in out) returns IndexedMapOfShape from TopTools |
7fd59977 | 97 | ---C++: return & |
98 | is static; | |
99 | ||
100 | ---Category: Private | |
101 | ||
102 | Store(me : in out;F1,F2 : Face from TopoDS; | |
103 | LInt1,LInt2 : ListOfShape from TopTools) | |
104 | is static private; | |
105 | ||
106 | fields | |
107 | ||
108 | myAsDes : AsDes from BRepAlgo; | |
975ec82a | 109 | myTouched : IndexedMapOfShape from TopTools; |
7fd59977 | 110 | myDone : DataMapOfShapeListOfShape from TopTools; |
975ec82a | 111 | myNewEdges : IndexedMapOfShape from TopTools; |
7fd59977 | 112 | mySide : State from TopAbs; |
113 | myTol : Real from Standard; | |
114 | ||
115 | end Inter3d; |