0023024: Update headers of OCCT files
[occt.git] / src / GeomTools / GeomTools.cdl
1 -- Created on: 1992-08-28
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1992-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 package GeomTools 
24
25         ---Purpose: The GeomTools package provides  utilities for Geometry.
26         --          
27         --          *  SurfaceSet,  CurveSet, Curve2dSet  : Tools used
28         --          for dumping, writing and reading.
29         --          
30         --          * Methods to dump, write, read curves and surfaces.
31
32 uses
33     Geom,
34     Geom2d,
35     TColStd,
36     Message
37
38 is
39
40     class UndefinedTypeHandler;
41     --
42     --  Dump, Write, Read tools
43     
44     class SurfaceSet;
45         ---Purpose: A set of Surfaces from Geom.
46         
47     class CurveSet;
48         ---Purpose: A set of Curves from Geom.
49         
50     class Curve2dSet;
51         ---Purpose: A set of Curves from Geom2d.
52         
53     --
54     --     Methods
55     --     
56     
57     Dump(S : Surface from Geom; OS : in out OStream);
58           ---Purpose: Dumps the surface on the stream.
59
60     Write(S : Surface from Geom; OS : in out OStream);
61           ---Purpose: Writes the surface on the stream.
62
63     Read(S : in out Surface from Geom; IS : in out IStream); 
64           ---Purpose: Reads the surface from the stream.
65
66
67     Dump(C : Curve from Geom; OS : in out OStream);
68           ---Purpose: Dumps the Curve on the stream.
69
70     Write(C : Curve from Geom; OS : in out OStream);
71           ---Purpose: Writes the Curve on the stream.
72
73     Read(C : in out Curve from Geom; IS : in out IStream); 
74           ---Purpose: Reads the Curve from the stream.
75
76
77     Dump(C : Curve from Geom2d; OS : in out OStream);
78           ---Purpose: Dumps the Curve on the stream.
79
80     Write(C : Curve from Geom2d; OS : in out OStream);
81           ---Purpose: Writes the Curve on the stream.
82
83     Read(C : in out Curve from Geom2d; IS : in out IStream); 
84           ---Purpose: Reads the Curve from the stream.
85           
86     SetUndefinedTypeHandler(aHandler: UndefinedTypeHandler from GeomTools);
87     
88     GetUndefinedTypeHandler returns UndefinedTypeHandler from GeomTools;
89
90 end GeomTools;
91
92