b311480e |
1 | -- Created on: 1993-03-02 |
2 | -- Created by: Philippe DAUTRY |
3 | -- Copyright (c) 1993-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. |
7fd59977 |
16 | |
17 | class RectangularTrimmedSurface from PGeom inherits BoundedSurface from PGeom |
18 | |
19 | ---Purpose : Defines a portion of a surface (patch) limited by |
20 | -- two parametric values in the U direction (Umin, |
21 | -- Umax) and in the V direction (Vmin, Vmax). |
22 | -- |
23 | ---See Also : RectangularTrimmedSurface from Geom. |
24 | |
25 | uses Surface from PGeom |
26 | |
27 | is |
28 | |
29 | |
6e33d3ce |
30 | Create returns RectangularTrimmedSurface from PGeom; |
7fd59977 |
31 | ---Purpose: Creates a RectangularTrimmedSurface with default values. |
32 | ---Level: Internal |
33 | |
34 | |
35 | Create ( |
36 | aBasisSurface : Surface from PGeom; |
37 | aFirstU : Real from Standard; |
38 | aLastU : Real from Standard; |
39 | aFirstV : Real from Standard; |
40 | aLastV : Real from Standard) |
6e33d3ce |
41 | returns RectangularTrimmedSurface from PGeom; |
7fd59977 |
42 | ---Purpose: Creates a RectangularTrimmedSurface with these values. |
43 | ---Level: Internal |
44 | |
45 | |
46 | BasisSurface (me: mutable; aBasisSurface: Surface from PGeom); |
47 | ---Purpose : Set the value of the field basisSurface with |
48 | -- <aBasisSurface>. |
49 | ---Level: Internal |
50 | |
51 | |
52 | BasisSurface (me) returns Surface from PGeom; |
53 | ---Purpose : Returns the value of the field basisSurface. |
54 | ---Level: Internal |
55 | |
56 | |
57 | FirstU(me : mutable; aFirstU: Real from Standard); |
58 | ---Purpose : Set the value of the field firstU with <aFirstU>. |
59 | ---Level: Internal |
60 | |
61 | |
62 | FirstU(me) returns Real from Standard; |
63 | ---Purpose : Returns the value of the field firstU. |
64 | ---Level: Internal |
65 | |
66 | |
67 | LastU(me : mutable; aLastU: Real from Standard); |
68 | ---Purpose : Set the value of the field lastU with <aLastU>. |
69 | ---Level: Internal |
70 | |
71 | |
72 | LastU(me) returns Real from Standard; |
73 | ---Purpose : Returns the value of the field lastU. |
74 | ---Level: Internal |
75 | |
76 | |
77 | FirstV(me : mutable; aFirstV: Real); |
78 | ---Purpose : Set the value of the field firstV with <aFirstV>. |
79 | ---Level: Internal |
80 | |
81 | |
82 | FirstV(me) returns Real from Standard; |
83 | ---Purpose : Returns the value of the field firstV. |
84 | ---Level: Internal |
85 | |
86 | |
87 | LastV(me : mutable; aLastV: Real); |
88 | ---Purpose : Set the value of the field lastV with <aLastV>. |
89 | ---Level: Internal |
90 | |
91 | |
92 | LastV(me) returns Real from Standard; |
93 | ---Purpose : Returns the value of the field lastV. |
94 | ---Level: Internal |
95 | |
96 | |
97 | fields |
98 | |
99 | basisSurface : Surface from PGeom; |
100 | firstU : Real from Standard; |
101 | lastU : Real from Standard; |
102 | firstV : Real from Standard; |
103 | lastV : Real from Standard; |
104 | |
105 | end; |