7fd59977 |
1 | -- File: BRepFill_MultiLineTool.cdl |
2 | -- Created: Mon Nov 14 15:01:41 1994 |
3 | -- Author: Bruno DUMORTIER |
4 | -- <dub@fuegox> |
5 | ---Copyright: Matra Datavision 1994 |
6 | |
7 | private class MultiLineTool from BRepFill |
8 | |
9 | ---Purpose: private class used to instantiate the continuous |
10 | -- approximations routines. |
11 | |
12 | uses |
13 | Pnt from gp, |
14 | Pnt2d from gp, |
15 | Vec from gp, |
16 | Vec2d from gp, |
17 | Array1OfPnt from TColgp, |
18 | Array1OfPnt2d from TColgp, |
19 | Array1OfVec from TColgp, |
20 | Array1OfVec2d from TColgp, |
21 | MultiLine from BRepFill |
22 | |
23 | is |
24 | |
25 | FirstParameter(myclass; ML: MultiLine from BRepFill) |
26 | ---Purpose: returns the first parameter of the Line. |
27 | returns Real from Standard; |
28 | |
29 | |
30 | LastParameter(myclass; ML: MultiLine from BRepFill) |
31 | ---Purpose: returns the last parameter of the Line. |
32 | returns Real from Standard; |
33 | |
34 | |
35 | NbP2d(myclass; ML: MultiLine from BRepFill) |
36 | ---Purpose: Returns the number of 2d points of a MLine |
37 | returns Integer from Standard; |
38 | |
39 | |
40 | NbP3d(myclass; ML: MultiLine from BRepFill) |
41 | ---Purpose: Returns the number of 3d points of a MLine. |
42 | returns Integer from Standard; |
43 | |
44 | |
45 | Value(myclass; ML : MultiLine from BRepFill; |
46 | U : Real from Standard; |
47 | tabPt: out Array1OfPnt from TColgp); |
48 | ---Purpose: returns the 3d points of the multipoint <MPointIndex> |
49 | -- when only 3d points exist. |
50 | |
51 | |
52 | Value(myclass; ML : MultiLine from BRepFill; |
53 | U : Real from Standard; |
54 | tabPt2d: out Array1OfPnt2d from TColgp); |
55 | ---Purpose: returns the 2d points of the multipoint <MPointIndex> |
56 | -- when only 2d points exist. |
57 | |
58 | |
59 | Value(myclass; ML : MultiLine from BRepFill; |
60 | U : Real from Standard; |
61 | tabPt : out Array1OfPnt from TColgp; |
62 | tabPt2d: out Array1OfPnt2d from TColgp); |
63 | ---Purpose: returns the 3d and 2d points of the multipoint |
64 | -- <MPointIndex>. |
65 | |
66 | |
67 | D1(myclass; ML : MultiLine from BRepFill; |
68 | U : Real from Standard; |
69 | tabV: out Array1OfVec from TColgp) |
70 | returns Boolean from Standard; |
71 | ---Purpose: returns the 3d derivative values of the multipoint |
72 | -- <MPointIndex> when only 3d points exist. |
73 | -- returns False if the derivative cannot be computed. |
74 | |
75 | |
76 | D1(myclass; ML : MultiLine from BRepFill; |
77 | U : Real from Standard; |
78 | tabV2d: out Array1OfVec2d from TColgp) |
79 | returns Boolean from Standard; |
80 | ---Purpose: returns the 2d derivative values of the multipoint |
81 | -- <MPointIndex> only when 2d points exist. |
82 | -- returns False if the derivative cannot be computed. |
83 | |
84 | |
85 | D1(myclass; ML : MultiLine from BRepFill; |
86 | U : Real from Standard; |
87 | tabV : out Array1OfVec from TColgp; |
88 | tabV2d: out Array1OfVec2d from TColgp) |
89 | returns Boolean from Standard; |
90 | ---Purpose: returns the 3d and 2d derivative values of the |
91 | -- multipoint <MPointIndex>. |
92 | -- returns False if the derivative cannot be computed. |
93 | |
94 | end MultiLineTool; |
95 | |