1 -- Created on: 1992-08-28
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1992-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.
19 ---Purpose: The GeomTools package provides utilities for Geometry.
21 -- * SurfaceSet, CurveSet, Curve2dSet : Tools used
22 -- for dumping, writing and reading.
24 -- * Methods to dump, write, read curves and surfaces.
34 class UndefinedTypeHandler;
36 -- Dump, Write, Read tools
43 ---Purpose: A set of Curves from Geom2d.
49 Dump(S : Surface from Geom; OS : in out OStream);
50 ---Purpose: Dumps the surface on the stream.
52 Write(S : Surface from Geom; OS : in out OStream);
53 ---Purpose: Writes the surface on the stream.
55 Read(S : in out Surface from Geom; IS : in out IStream);
56 ---Purpose: Reads the surface from the stream.
59 Dump(C : Curve from Geom; OS : in out OStream);
60 ---Purpose: Dumps the Curve on the stream.
62 Write(C : Curve from Geom; OS : in out OStream);
63 ---Purpose: Writes the Curve on the stream.
65 Read(C : in out Curve from Geom; IS : in out IStream);
66 ---Purpose: Reads the Curve from the stream.
69 Dump(C : Curve from Geom2d; OS : in out OStream);
70 ---Purpose: Dumps the Curve on the stream.
72 Write(C : Curve from Geom2d; OS : in out OStream);
73 ---Purpose: Writes the Curve on the stream.
75 Read(C : in out Curve from Geom2d; IS : in out IStream);
76 ---Purpose: Reads the Curve from the stream.
78 SetUndefinedTypeHandler(aHandler: UndefinedTypeHandler from GeomTools);
80 GetUndefinedTypeHandler returns UndefinedTypeHandler from GeomTools;
82 GetReal(IS : out IStream from Standard; theValue : out Real from Standard);
83 ---Purpose: Reads the Standard_Real value from the stream. Zero is read