1 -- Created on: 1995-01-04
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1995-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
9 -- under the terms of the GNU Lesser General Public 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 MakeSolid from BRepLib inherits MakeShape from BRepLib
19 ---Purpose: Makes a solid from compsolid or shells.
23 CompSolid from TopoDS,
26 ListOfShape from TopTools,
27 ShapeModification from BRepLib
36 ---Purpose: Solid covers whole space.
37 returns MakeSolid from BRepLib;
39 ----------------------------------------------
41 ----------------------------------------------
43 Create(S : CompSolid from TopoDS)
44 ---Purpose: Make a solid from a CompSolid.
46 returns MakeSolid from BRepLib;
50 ----------------------------------------------
52 ----------------------------------------------
54 Create(S : Shell from TopoDS)
55 ---Purpose: Make a solid from a shell.
57 returns MakeSolid from BRepLib;
60 Create(S1,S2 : Shell from TopoDS)
61 ---Purpose: Make a solid from two shells.
63 returns MakeSolid from BRepLib;
65 Create(S1,S2,S3 : Shell from TopoDS)
66 ---Purpose: Make a solid from three shells.
68 returns MakeSolid from BRepLib;
71 ----------------------------------------------
72 -- From solid and shells
73 ----------------------------------------------
75 Create(So : Solid from TopoDS)
76 ---Purpose: Make a solid from a solid. Usefull for adding later.
78 returns MakeSolid from BRepLib;
80 Create(So : Solid from TopoDS; S : Shell from TopoDS)
81 ---Purpose: Add a shell to a solid.
83 returns MakeSolid from BRepLib;
86 ----------------------------------------------
88 ----------------------------------------------
90 Add(me : in out; S : Shell from TopoDS)
91 ---Purpose: Add the shell to the current solid.
95 ----------------------------------------------
97 ----------------------------------------------
99 Solid(me) returns Solid from TopoDS
100 ---Purpose: Returns the new Solid.
102 ---C++: return const &
103 ---C++: alias "Standard_EXPORT operator TopoDS_Solid() const;"
109 FaceStatus(me; F: Face from TopoDS)
110 ---Purpose: returns the status of the Face after
111 -- the shape creation.
113 returns ShapeModification from BRepLib
118 myDeletedFaces: ListOfShape from TopTools is protected;