b311480e |
1 | -- Created on: 1996-04-10 |
2 | -- Created by: Joelle CHAUVET |
3 | -- Copyright (c) 1996-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
b311480e |
16 | |
7fd59977 |
17 | -- Modified: Mon Dec 9 10:30:56 1996 |
18 | -- by: Joelle CHAUVET |
19 | -- G1135 : Empty constructor |
7fd59977 |
20 | |
21 | class Framework from AdvApp2Var |
22 | |
23 | uses |
24 | |
25 | Boolean,Real,NoSuchObject from Standard, |
26 | HArray1OfReal from TColStd, |
27 | IsoType from GeomAbs, |
28 | SequenceOfNode,SequenceOfStrip,Iso,Node from AdvApp2Var |
29 | |
30 | raises NoSuchObject from Standard |
31 | |
32 | is |
33 | |
34 | Create returns Framework; |
35 | Create(Frame : SequenceOfNode; |
36 | UFrontier, VFrontier : SequenceOfStrip) |
37 | returns Framework; |
38 | |
39 | FirstNotApprox(me; IndexIso,IndexStrip : out Integer; |
40 | anIso : out Iso) |
41 | ---Purpose: search the Index of the first Iso not approximated, |
42 | -- if all Isos are approximated Standard_False is returned. |
43 | returns Boolean; |
44 | |
45 | FirstNode(me; Type : IsoType; IndexIso,IndexStrip : Integer) |
46 | returns Integer; |
47 | |
48 | LastNode(me; Type : IsoType; IndexIso,IndexStrip : Integer) returns Integer; |
49 | |
50 | ChangeIso(me: in out; IndexIso,IndexStrip : Integer; anIso : Iso); |
51 | |
52 | Node(me; IndexNode : Integer) |
53 | ---C++: return const& |
54 | ---C++: inline |
55 | returns Node |
56 | raises NoSuchObject from Standard; |
57 | |
58 | Node(me; U,V : Real) |
59 | ---C++: return const& |
60 | returns Node |
61 | raises NoSuchObject from Standard; |
62 | |
63 | IsoU(me; U,V0,V1 : Real) |
64 | ---C++: return const& |
65 | returns Iso |
66 | raises NoSuchObject from Standard; |
67 | |
68 | IsoV(me; U0,U1,V : Real) |
69 | ---C++: return const& |
70 | returns Iso |
71 | raises NoSuchObject from Standard; |
72 | |
73 | ChangeNode(me: in out; IndexNode : Integer) |
74 | ---C++: return & |
75 | ---C++: inline |
76 | returns Node; |
77 | |
78 | |
79 | UpdateInU(me: in out; CuttingValue : Real); |
80 | |
81 | UpdateInV(me: in out; CuttingValue : Real); |
82 | |
83 | UEquation(me; IndexIso,IndexStrip : Integer) |
84 | ---C++: return const & |
85 | returns HArray1OfReal; |
86 | |
87 | VEquation(me; IndexIso,IndexStrip : Integer) |
88 | ---C++: return const & |
89 | returns HArray1OfReal; |
90 | |
91 | |
92 | fields |
93 | |
94 | myNodeConstraints : SequenceOfNode; |
95 | myUConstraints : SequenceOfStrip; |
96 | myVConstraints : SequenceOfStrip; |
97 | |
98 | end Framework; |
99 | |