0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / PGeom / PGeom_TrimmedCurve.cdl
1 -- Created on: 1993-03-01
2 -- Created by: Philippe DAUTRY
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class TrimmedCurve from PGeom inherits BoundedCurve from PGeom
18
19         ---Purpose :
20         --  Defines a portion of a curve limited by two values of 
21         --  parameters inside the parametric domain of the curve.
22         --  
23         ---See Also : TrimmedCurve from Geom.
24
25
26 uses Curve from PGeom
27
28 is
29
30
31   Create returns TrimmedCurve from PGeom;
32         ---Purpose: Creates a TrimmedCurve with default values.
33         ---Level: Internal 
34
35
36   Create (
37         aBasisCurve: Curve from PGeom;
38         aFirstU, aLastU: Real from Standard)
39      returns TrimmedCurve from PGeom;
40         ---Purpose : Creates a TrimmedCurve with these field values.
41         ---Level: Internal 
42
43
44   FirstU(me : mutable; aFirstU: Real from Standard);
45         ---Purpose : Set the value of the field firstU with <aFirstU>.
46         ---Level: Internal 
47
48
49   FirstU(me) returns Real from Standard;
50         ---Purpose : Returns the value of the field firstU.
51         ---Level: Internal 
52
53
54   LastU(me : mutable; aLastU: Real from Standard);
55         ---Purpose : Set the value of the field lastU with <aLastU>.
56         ---Level: Internal 
57
58
59   LastU(me) returns Real from Standard;
60         ---Purpose : Returns the value of the field lastU.
61         ---Level: Internal 
62
63
64   BasisCurve (me: mutable; aBasisCurve: Curve from PGeom);
65         ---Purpose : Set the value of the field basisCurve with <aBasisCurve>.
66         --  This curve can be a trimmed curve.
67         ---Level: Internal 
68
69
70   BasisCurve (me) returns Curve from PGeom;
71         ---Purpose : Returns the value of the field basisCurve. 
72         --  This curve can be a trimmed curve.
73         ---Level: Internal 
74
75
76 fields
77
78     basisCurve : Curve from PGeom;
79     firstU     : Real from Standard;
80     lastU      : Real from Standard;
81
82 end;