-- Created on: 1995-01-04 -- Created by: Bruno DUMORTIER -- Copyright (c) 1995-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class MakeShell from BRepLib inherits MakeShape from BRepLib ---Purpose: Provides methos to build shells. -- -- Build a shell from a set of faces. -- Build untied shell from a non C2 surface -- splitting it into C2-continuous parts. uses Surface from Geom, Shell from TopoDS, Face from TopoDS, ShellError from BRepLib raises NotDone from StdFail is Create ---Purpose: Not done. ---Level: Public returns MakeShell from BRepLib; ---------------------------------------------- -- From a set of face ---------------------------------------------- ---------------------------------------------- -- From a surface ---------------------------------------------- Create(S : Surface from Geom; Segment : Boolean from Standard = Standard_False) ---Level: Public returns MakeShell from BRepLib; Create(S : Surface from Geom; UMin, UMax, VMin, VMax : Real; Segment : Boolean from Standard = Standard_False) ---Level: Public returns MakeShell from BRepLib; Init(me : in out; S : Surface from Geom; UMin, UMax, VMin, VMax : Real; Segment : Boolean from Standard = Standard_False) ---Purpose: Creates the shell from the surface and the min-max -- values. ---Level: Public is static; ---------------------------------------------- -- Results ---------------------------------------------- Error(me) returns ShellError from BRepLib ---Level: Public is static; Shell(me) returns Shell from TopoDS ---Purpose: Returns the new Shell. -- ---C++: return const & ---C++: alias "Standard_EXPORT operator TopoDS_Shell() const;" ---Level: Public raises NotDone from StdFail is static; fields myError : ShellError from BRepLib; end MakeShell;