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 BezierSurface from PGeom inherits BoundedSurface from PGeom |
18 | |
19 | ---Purpose : Defines a rational or non rational Bezier |
20 | -- surface. In this package the degree of the Bezier |
21 | -- surface is limited to MaxDegree and must be greater |
22 | -- or equal to 1. |
23 | -- |
24 | ---See Also : BezierSurface from Geom. |
25 | |
26 | uses HArray2OfReal from PColStd, |
27 | HArray2OfPnt from PColgp |
28 | |
29 | is |
30 | |
31 | |
6e33d3ce |
32 | Create returns BezierSurface from PGeom; |
7fd59977 |
33 | ---Purpose: Creates a BezierSurface with default values. |
34 | ---Level: Internal |
35 | |
36 | |
37 | Create (aURational : Boolean from Standard; |
38 | aVRational : Boolean from Standard; |
39 | aPoles : HArray2OfPnt from PColgp; |
40 | aWeights : HArray2OfReal from PColStd) |
6e33d3ce |
41 | returns BezierSurface from PGeom; |
7fd59977 |
42 | ---Purpose: Creates a BezierSurface with these values. |
43 | ---Level: Internal |
44 | |
45 | |
46 | Poles (me: mutable; aPoles: HArray2OfPnt from PColgp); |
47 | ---Purpose: Set the field poles with <aPoles>. |
48 | ---Level: Internal |
49 | |
50 | |
51 | |
52 | Poles (me) returns HArray2OfPnt from PColgp; |
53 | ---Purpose: Returns the value of the field poles. |
54 | ---Level: Internal |
55 | |
56 | |
57 | Weights (me: mutable; aWeights : HArray2OfReal from PColStd); |
58 | ---Purpose : Set the value of the field weights with <aWeights>. |
59 | ---Level: Internal |
60 | |
61 | |
62 | Weights (me) returns HArray2OfReal from PColStd; |
63 | ---Purpose : Returns the value of the field weights. |
64 | ---Level: Internal |
65 | |
66 | |
67 | URational (me: mutable; aURational: Boolean from Standard); |
68 | ---Purpose : Set the value of the field uRational with <aURational>. |
69 | ---Level: Internal |
70 | |
71 | |
72 | URational (me) returns Boolean from Standard; |
73 | ---Purpose : Returns the value of the field uRational. |
74 | ---Level: Internal |
75 | |
76 | |
77 | VRational (me: mutable; aVRational: Boolean from Standard); |
78 | ---Purpose : Set the value of the field vRational with <aVRational>. |
79 | ---Level: Internal |
80 | |
81 | |
82 | VRational (me) returns Boolean from Standard; |
83 | ---Purpose : Returns the value of the field vRational. |
84 | ---Level: Internal |
85 | |
86 | |
87 | |
88 | fields |
89 | |
90 | uRational : Boolean from Standard; |
91 | vRational : Boolean from Standard; |
92 | poles : HArray2OfPnt from PColgp; |
93 | weights : HArray2OfReal from PColStd; |
94 | |
95 | end; |