7fd59977 |
1 | -- File: AdvApprox_PrefCutting.cdl |
2 | -- Created: Fri Apr 5 17:15:04 1996 |
3 | -- Author: Joelle CHAUVET |
4 | -- <jct@sgi38> |
5 | ---Copyright: Matra Datavision 1996 |
6 | -- |
7 | |
8 | ---Purpose : |
9 | -- inherits class Cutting; contains a list of preferential points (di)i |
10 | -- if Cutting is necessary in [a,b], we cut at the di nearest from (a+b)/2. |
11 | |
12 | class PrefCutting from AdvApprox inherits Cutting from AdvApprox |
13 | |
14 | uses Array1OfReal from TColStd |
15 | |
16 | is |
17 | Create(CutPnts : Array1OfReal) returns PrefCutting; |
18 | |
19 | Value(me; a,b : Real; |
20 | cuttingvalue : out Real) |
21 | returns Boolean |
22 | is redefined; |
23 | |
24 | |
25 | fields |
26 | |
27 | myPntOfCutting : Array1OfReal from TColStd; |
28 | |
29 | |
30 | end PrefCutting; |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |