1 -- Created on: 1993-10-06
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class BSplineCurves from GeomFill
19 ---Purpose: An algorithm for constructing a BSpline surface filled
20 -- from contiguous BSpline curves which form its boundaries.
21 -- The algorithm accepts two, three or four BSpline
22 -- curves as the boundaries of the target surface.
23 -- A range of filling styles - more or less rounded, more
24 -- or less flat - is available.
25 -- A BSplineCurves object provides a framework for:
26 -- - defining the boundaries, and the filling style of the surface
27 -- - implementing the construction algorithm
28 -- - consulting the result.
30 -- Some problems may show up with rational curves.
33 BSplineCurve from Geom,
34 BSplineSurface from Geom,
35 FillingStyle from GeomFill
38 ConstructionError from Standard
41 ---Purpose: Constructs a default BSpline surface framework.
43 Create( C1, C2, C3, C4 : BSplineCurve from Geom;
44 Type : FillingStyle from GeomFill)
45 returns BSplineCurves from GeomFill;
47 Create( C1, C2, C3 : BSplineCurve from Geom;
48 Type : FillingStyle from GeomFill)
49 returns BSplineCurves from GeomFill;
51 Create( C1, C2 : BSplineCurve from Geom;
52 Type : FillingStyle from GeomFill)
53 returns BSplineCurves from GeomFill;
54 ---Purpose: Constructs a framework for building a BSpline surface from either
55 -- - the four contiguous BSpline curves, C1, C2, C3 and C4, or
56 -- - the three contiguous BSpline curves, C1, C2 and C3, or
57 -- - the two contiguous BSpline curves, C1 and C2.
58 -- The type of filling style Type to be used is one of:
59 -- - GeomFill_Stretch - the style with the flattest patch
60 -- - GeomFill_Coons - a rounded style of patch with
61 -- less depth than that of Curved
62 -- - GeomFill_Curved - the style with the most rounded
63 -- patch.Constructs a framework for building a BSpline
64 -- surface common to the two BSpline curves, C1 and C2.
66 -- Standard_ConstructionError if the curves are not contiguous.
69 C1, C2, C3, C4 : BSplineCurve from Geom;
70 Type : FillingStyle from GeomFill)
72 ConstructionError from Standard
73 ---Purpose: if the curves cannot be joined
77 C1, C2, C3 : BSplineCurve from Geom;
78 Type : FillingStyle from GeomFill)
80 ConstructionError from Standard
81 ---Purpose: if the curves cannot be joined
85 C1, C2 : BSplineCurve from Geom;
86 Type : FillingStyle from GeomFill)
88 ---Purpose: Initializes or reinitializes this algorithm with two, three,
89 -- or four curves - C1, C2, C3, and C4 - and Type, one
90 -- of the following filling styles:
91 -- - GeomFill_Stretch - the style with the flattest patch
92 -- - GeomFill_Coons - a rounded style of patch with
93 -- less depth than that of Curved
94 -- - GeomFill_Curved - the style with the most rounded patch.
96 -- Standard_ConstructionError if the curves are not contiguous.
98 Surface(me) returns BSplineSurface from Geom
99 ---Purpose: Returns the BSpline surface Surface resulting from
100 -- the computation performed by this algorithm.
101 ---C++: return const&
108 mySurface : BSplineSurface from Geom;