7fd59977 |
1 | -- File: BRepFilletAPI_LocalOperation.cdl |
2 | -- Created: Thu Jan 29 14:05:20 1998 |
3 | -- Author: Laurent BOURESCHE |
4 | -- <lbo@pomalox.paris1.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 1998 |
6 | |
7 | deferred class LocalOperation from BRepFilletAPI inherits MakeShape from BRepBuilderAPI |
8 | |
9 | ---Purpose: Construction of fillets on the edges of a Shell. |
10 | |
11 | uses |
12 | |
13 | Shape from TopoDS, |
14 | Edge from TopoDS, |
15 | Vertex from TopoDS, |
16 | ListOfShape from TopTools, |
17 | SecHArray1 from ChFiDS |
18 | |
19 | is |
20 | |
21 | ------------------------------------------------------------------ |
22 | --- Add d contour |
23 | ------------------------------------------------------------------ |
24 | |
25 | Add(me : in out; E : Edge from TopoDS) |
26 | ---Purpose: Adds a contour in the builder (builds a |
27 | -- contour of tangent edges). |
28 | ---Level: Public |
29 | is deferred; |
30 | |
31 | ResetContour(me : in out; |
32 | IC : Integer from Standard) |
33 | ---Purpose: Reset the contour of index IC, there is nomore |
34 | -- information in the contour. |
35 | ---Level: Public |
36 | is deferred; |
37 | |
38 | NbContours(me) |
39 | ---Purpose: Number of contours. |
40 | ---Level: Advanced |
41 | returns Integer from Standard is deferred; |
42 | |
43 | Contour(me; E : Edge from TopoDS) |
44 | ---Purpose: Returns the index of the contour containing the edge |
45 | -- E, returns 0 if E doesn't belong to any contour. |
46 | ---Level: Public |
47 | returns Integer from Standard is deferred; |
48 | |
49 | NbEdges(me; I : Integer from Standard) |
50 | ---Purpose: Number of Edges in the contour I. |
51 | -- |
52 | ---Level: Advanced |
53 | returns Integer from Standard |
54 | is deferred; |
55 | |
56 | Edge(me; I,J : Integer from Standard) |
57 | ---Purpose: Returns the Edge J in the contour I. |
58 | -- |
59 | ---C++: return const & |
60 | ---Level: Advanced |
61 | returns Edge from TopoDS |
62 | is deferred; |
63 | |
64 | Remove(me : in out; E : Edge from TopoDS) |
65 | ---Purpose: remove the contour containing the Edge E. |
66 | ---Level: Advanced |
67 | is deferred; |
68 | |
69 | Length(me; IC : Integer from Standard) returns Real from Standard |
70 | ---Purpose: returns the length the contour of index IC. |
71 | is deferred; |
72 | |
73 | FirstVertex(me; IC : Integer from Standard) returns Vertex from TopoDS |
74 | ---Purpose: Returns the first Vertex of the contour of index IC. |
75 | ---Level: Advanced |
76 | is deferred; |
77 | |
78 | LastVertex(me; IC : Integer from Standard) returns Vertex from TopoDS |
79 | ---Purpose: Returns the last Vertex of the contour of index IC. |
80 | ---Level: Advanced |
81 | is deferred; |
82 | |
83 | Abscissa(me; |
84 | IC : Integer from Standard; |
85 | V : Vertex from TopoDS) |
86 | returns Real from Standard |
87 | ---Purpose: returns the abscissa of the vertex V on |
88 | -- the contour of index IC. |
89 | is deferred; |
90 | |
91 | RelativeAbscissa(me; |
92 | IC : Integer from Standard; |
93 | V : Vertex from TopoDS) |
94 | returns Real from Standard |
95 | ---Purpose: returns the relative abscissa([0.,1.]) of the |
96 | -- vertex V on the contour of index IC. |
97 | is deferred; |
98 | |
99 | ClosedAndTangent(me; IC : Integer from Standard) |
100 | returns Boolean from Standard |
101 | ---Purpose: returns true if the contour of index IC is closed |
102 | -- an tangent. |
103 | is deferred; |
104 | |
105 | Closed(me; IC : Integer from Standard) |
106 | returns Boolean from Standard |
107 | ---Purpose: returns true if the contour of index IC is closed |
108 | is deferred; |
109 | |
110 | Reset(me : in out) |
111 | ---Purpose: Reset all the fields updated by Build operation and |
112 | -- leave the algorithm in the same state than before |
113 | -- build call. It allows contours and radius |
114 | -- modifications to build the result another time. |
115 | ---Level: Advanced |
116 | is deferred; |
117 | |
118 | ------------------------------- |
119 | ---Methods for quick simulation |
120 | ------------------------------- |
121 | |
122 | Simulate(me : in out; IC : Integer from Standard) |
123 | is deferred; |
124 | |
125 | NbSurf(me; IC : Integer from Standard) |
126 | returns Integer from Standard |
127 | is deferred; |
128 | |
129 | Sect(me; IC, IS : Integer from Standard) |
130 | returns mutable SecHArray1 from ChFiDS |
131 | is deferred; |
132 | |
133 | end LocalOperation; |