7fd59977 |
1 | -- File: AdvApp2Var_Network.cdl |
2 | -- Created: Wed Apr 10 16:46:25 1996 |
3 | -- Author: Joelle CHAUVET |
4 | -- <jct@sgi38> |
5 | -- Modified: Mon Dec 9 10:30:56 1996 |
6 | -- by: Joelle CHAUVET |
7 | -- G1135 : Empty constructor |
8 | ---Copyright: Matra Datavision 1996 |
9 | |
10 | |
11 | class Network from AdvApp2Var |
12 | |
13 | uses |
14 | |
15 | Boolean,Integer,Real from Standard, |
16 | SequenceOfReal,HArray1OfReal from TColStd, |
17 | IsoType from GeomAbs, |
18 | Patch, SequenceOfPatch, Framework from AdvApp2Var |
19 | |
20 | raises NoSuchObject from Standard |
21 | |
22 | is |
23 | Create returns Network; |
24 | Create(Net : SequenceOfPatch; TheU,TheV : SequenceOfReal) returns Network; |
25 | FirstNotApprox(me; Index : out Integer) |
26 | ---Purpose: search the Index of the first Patch not approximated, |
27 | -- if all Patches are approximated Standard_False is returned |
28 | returns Boolean; |
29 | ChangePatch(me: in out; Index : Integer) |
30 | ---C++: alias operator() |
31 | ---C++: return & |
32 | ---C++: inline |
33 | returns Patch; |
34 | UpdateInU(me: in out; CuttingValue : Real); |
35 | UpdateInV(me: in out; CuttingValue : Real); |
36 | SameDegree(me : in out; iu, iv : Integer; ncfu, ncfv : out Integer); |
37 | NbPatch(me) returns Integer; |
38 | NbPatchInU(me) returns Integer; |
39 | NbPatchInV(me) returns Integer; |
40 | UParameter(me; Index : Integer) returns Real; |
41 | VParameter(me; Index : Integer) returns Real; |
42 | Patch(me; UIndex, VIndex : Integer) |
43 | ---C++: alias operator() |
44 | ---C++: return const & |
45 | ---C++: inline |
46 | returns Patch; |
47 | |
48 | |
49 | fields |
50 | |
51 | myNet : SequenceOfPatch; |
52 | myUParameters : SequenceOfReal; |
53 | myVParameters : SequenceOfReal; |
54 | |
55 | end Network; |
56 | |