0023258: Missing parenthesis
[occt.git] / src / BRepBuilderAPI / BRepBuilderAPI_NurbsConvert.cdl
1 -- Created on: 1994-12-09
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 class NurbsConvert from BRepBuilderAPI inherits ModifyShape from BRepBuilderAPI
24
25         ---Purpose: Conversion of the complete geometry of a shape into
26         -- NURBS geometry. For example, all curves supporting
27         -- edges of the basis shape are converted into BSpline
28         -- curves, and all surfaces supporting its faces are
29         -- converted into BSpline surfaces.
30
31 uses 
32
33     Shape             from TopoDS,
34     Face              from TopoDS,
35     ShapeModification from BRepBuilderAPI,
36     ListOfShape       from TopTools
37      
38 is
39
40     Create returns NurbsConvert from BRepBuilderAPI;
41         ---Purpose: Constructs a framework for converting the geometry of a
42         -- shape into NURBS geometry. Use the function Perform
43         -- to define the shape to convert.
44     Create(S: Shape from TopoDS; 
45            Copy: Boolean from Standard  =  Standard_False)
46
47         returns NurbsConvert from BRepBuilderAPI;
48         ---Purpose:  Builds a new shape by converting the geometry of the
49         -- shape S into NURBS geometry. Specifically, all curves
50         -- supporting edges of S are converted into BSpline
51         -- curves, and all surfaces supporting its faces are
52         -- converted into BSpline surfaces.
53         -- Use the function Shape to access the new shape.
54         -- Note: the constructed framework can be reused to
55         -- convert other shapes. You specify these with the
56         -- function Perform.
57
58     Perform(me: in out; S   : Shape   from TopoDS; 
59                         Copy: Boolean from Standard  =  Standard_False)
60
61         ---Purpose: Builds a new shape by converting the geometry of the
62         -- shape S into NURBS geometry.
63         -- Specifically, all curves supporting edges of S are
64         -- converted into BSpline curves, and all surfaces
65         -- supporting its faces are converted into BSpline surfaces.
66         -- Use the function Shape to access the new shape.
67         -- Note: this framework can be reused to convert other
68         -- shapes: you specify them by calling the function Perform again.
69         is static;
70
71 end NurbsConvert;