0024428: Implementation of LGPL license
[occt.git] / src / AdvApp2Var / AdvApp2Var_Network.cdl
CommitLineData
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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public version 2.1 as published
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
b311480e 20
7fd59977 21
22class Network from AdvApp2Var
23
24uses
25
26 Boolean,Integer,Real from Standard,
27 SequenceOfReal,HArray1OfReal from TColStd,
28 IsoType from GeomAbs,
29 Patch, SequenceOfPatch, Framework from AdvApp2Var
30
31raises NoSuchObject from Standard
32
33is
34 Create returns Network;
35 Create(Net : SequenceOfPatch; TheU,TheV : SequenceOfReal) returns Network;
36 FirstNotApprox(me; Index : out Integer)
37 ---Purpose: search the Index of the first Patch not approximated,
38 -- if all Patches are approximated Standard_False is returned
39 returns Boolean;
40 ChangePatch(me: in out; Index : Integer)
41 ---C++: alias operator()
42 ---C++: return &
43 ---C++: inline
44 returns Patch;
45 UpdateInU(me: in out; CuttingValue : Real);
46 UpdateInV(me: in out; CuttingValue : Real);
47 SameDegree(me : in out; iu, iv : Integer; ncfu, ncfv : out Integer);
48 NbPatch(me) returns Integer;
49 NbPatchInU(me) returns Integer;
50 NbPatchInV(me) returns Integer;
51 UParameter(me; Index : Integer) returns Real;
52 VParameter(me; Index : Integer) returns Real;
53 Patch(me; UIndex, VIndex : Integer)
54 ---C++: alias operator()
55 ---C++: return const &
56 ---C++: inline
57 returns Patch;
58
59
60fields
61
62 myNet : SequenceOfPatch;
63 myUParameters : SequenceOfReal;
64 myVParameters : SequenceOfReal;
65
66end Network;
67