1 -- Created on: 1993-07-19
2 -- Created by: Remi LEQUETTE
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 SurfaceSet from GeomTools
19 ---Purpose: Stores a set of Surfaces from Geom.
23 IndexedMapOfTransient from TColStd,
24 ProgressIndicator from Message
27 OutOfRange from Standard
31 Create returns SurfaceSet from GeomTools;
32 ---Purpose: Returns an empty set of Surfaces.
35 ---Purpose: Clears the content of the set.
38 Add(me : in out; S : Surface from Geom) returns Integer
39 ---Purpose: Incorporate a new Surface in the set and returns
43 Surface(me; I : Integer) returns Surface from Geom
44 ---Purpose: Returns the Surface of index <I>.
46 OutOfRange from Standard
49 Index(me; S : Surface from Geom) returns Integer
50 ---Purpose: Returns the index of <L>.
53 Dump(me; OS : in out OStream)
54 ---Purpose: Dumps the content of me on the stream <OS>.
57 Write(me; OS : in out OStream)
58 ---Purpose: Writes the content of me on the stream <OS> in a
59 -- format that can be read back by Read.
62 Read(me : in out; IS : in out IStream)
63 ---Purpose: Reads the content of me from the stream <IS>. me
69 -- class methods to write an read surfaces
72 PrintSurface(myclass; S : Surface from Geom;
74 compact : Boolean = Standard_False);
75 ---Purpose: Dumps the surface on the stream, if compact is True
76 -- use the compact format that can be read back.
78 ReadSurface(myclass; IS : in out IStream;
79 S : in out Surface from Geom)
81 ---Purpose: Reads the surface from the stream. The surface is
82 -- assumed to have been writtent with the Print
83 -- method (compact = True).
87 SetProgress(me : in out; PR : ProgressIndicator from Message);
89 GetProgress(me) returns ProgressIndicator from Message;
93 myMap : IndexedMapOfTransient from TColStd;
94 myProgress : ProgressIndicator from Message;