1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/src/BRepLib/BRepLib_MakeShape.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

113 lines
3.2 KiB
Plaintext

-- Created on: 1993-07-21
-- Created by: Remi LEQUETTE
-- Copyright (c) 1993-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.
deferred class MakeShape from BRepLib inherits Command from BRepLib
---Purpose: This is the root class for all shape
-- constructions. It stores the result.
--
-- It provides deferred methods to trace the history
-- of sub-shapes.
uses
Shape from TopoDS,
Face from TopoDS,
Edge from TopoDS,
ShapeModification from BRepLib,
ListOfShape from TopTools
raises
NotDone from StdFail
is
Initialize;
Build(me : in out);
---Purpose: This is called by Shape(). It does nothing but
-- may be redefined.
---Level: Public
Shape(me) returns Shape from TopoDS
---C++: return const &
---C++: alias "Standard_EXPORT operator TopoDS_Shape() const;"
---Level: Public
raises
NotDone from StdFail
is static;
-----------------------------------------------------------
--- the following methods do nothing and must be redefined
--- for faces creations.
FaceStatus(me; F: Face from TopoDS)
---Purpose: returns the status of the Face after
-- the shape creation.
---Level: Public
returns ShapeModification from BRepLib
is virtual;
HasDescendants(me; F: Face from TopoDS)
---Purpose: Returns True if the Face generates new topology.
---Level: Public
returns Boolean from Standard
is virtual;
DescendantFaces(me: in out; F: Face from TopoDS)
---Purpose: returns the list of generated Faces.
---C++: return const &
---Level: Public
returns ListOfShape from TopTools
is virtual;
NbSurfaces(me)
---Purpose: returns the number of surfaces
-- after the shape creation.
---Level: Public
returns Integer from Standard
is virtual;
NewFaces(me: in out; I: Integer from Standard)
---Purpose: Return the faces created for surface I.
---C++: return const &
---Level: Public
returns ListOfShape from TopTools
is virtual;
FacesFromEdges(me: in out; E: Edge from TopoDS)
---Purpose: returns a list of the created faces
-- from the edge <E>.
---C++: return const &
---Level: Public
returns ListOfShape from TopTools
is virtual;
fields
myShape : Shape from TopoDS is protected;
myGenFaces: ListOfShape from TopTools is protected;
myNewFaces: ListOfShape from TopTools is protected;
myEdgFaces: ListOfShape from TopTools is protected;
end MakeShape;