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
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.
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.
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.
25 ---Purpose: The GeomTools package provides utilities for Geometry.
27 -- * SurfaceSet, CurveSet, Curve2dSet : Tools used
28 -- for dumping, writing and reading.
30 -- * Methods to dump, write, read curves and surfaces.
40 class UndefinedTypeHandler;
42 -- Dump, Write, Read tools
45 ---Purpose: A set of Surfaces from Geom.
48 ---Purpose: A set of Curves from Geom.
51 ---Purpose: A set of Curves from Geom2d.
57 Dump(S : Surface from Geom; OS : in out OStream);
58 ---Purpose: Dumps the surface on the stream.
60 Write(S : Surface from Geom; OS : in out OStream);
61 ---Purpose: Writes the surface on the stream.
63 Read(S : in out Surface from Geom; IS : in out IStream);
64 ---Purpose: Reads the surface from the stream.
67 Dump(C : Curve from Geom; OS : in out OStream);
68 ---Purpose: Dumps the Curve on the stream.
70 Write(C : Curve from Geom; OS : in out OStream);
71 ---Purpose: Writes the Curve on the stream.
73 Read(C : in out Curve from Geom; IS : in out IStream);
74 ---Purpose: Reads the Curve from the stream.
77 Dump(C : Curve from Geom2d; OS : in out OStream);
78 ---Purpose: Dumps the Curve on the stream.
80 Write(C : Curve from Geom2d; OS : in out OStream);
81 ---Purpose: Writes the Curve on the stream.
83 Read(C : in out Curve from Geom2d; IS : in out IStream);
84 ---Purpose: Reads the Curve from the stream.
86 SetUndefinedTypeHandler(aHandler: UndefinedTypeHandler from GeomTools);
88 GetUndefinedTypeHandler returns UndefinedTypeHandler from GeomTools;