-- Created by: Peter KURNEV -- Copyright (c) 2010-2014 OPEN CASCADE SAS -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, -- EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -- -- 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 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 BuilderShape from BOPAlgo inherits Algo from BOPAlgo ---Purpose: Root class for algorithms that has shape as result uses Shape from TopoDS, ListOfShape from TopTools, BaseAllocator from BOPCol, MapOfShape from BOPCol, IndexedDataMapOfShapeListOfShape from BOPCol --raises is Initialize returns BuilderShape from BOPAlgo; ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_BuilderShape();" Initialize (theAllocator: BaseAllocator from BOPCol) returns BuilderShape from BOPAlgo; Shape(me) ---Purpose: Returns the result of algorithm returns Shape from TopoDS; ---C++: return const & ------------------------------------------------------------------ --- The following methods are not implemented at this level. -- An empty list is returned. --- They are optional and can be redefined. ------------------------------------------------------------------ Generated (me:out; theS : Shape from TopoDS) ---Purpose: Returns the list of shapes generated from the -- shape theS. returns ListOfShape from TopTools is virtual; ---C++: return const & Modified (me:out; theS : Shape from TopoDS) ---Purpose: Returns the list of shapes modified from the -- shape theS. returns ListOfShape from TopTools is virtual; ---C++: return const & IsDeleted (me:out; theS : Shape from TopoDS) ---Purpose: Returns true if the shape theS has been deleted. returns Boolean from Standard is virtual; HasDeleted (me) ---Purpose: Returns true if the at least one shape(or subshape) -- of arguments has been deleted. returns Boolean from Standard; HasGenerated (me) ---Purpose: Returns true if the at least one shape(or subshape) -- of arguments has generated shapes. returns Boolean from Standard; HasModified (me) ---Purpose: Returns true if the at least one shape(or subshape) -- of arguments has modified shapes. returns Boolean from Standard; PrepareHistory (me:out) ---Purpose: Prepare information for history support is virtual protected; ImagesResult(me) returns IndexedDataMapOfShapeListOfShape from BOPCol; ---C++: return const & fields myShape : Shape from TopoDS is protected; -- myHistShapes : ListOfShape from TopTools is protected; myMapShape : MapOfShape from BOPCol is protected; myHasDeleted : Boolean from Standard is protected; myHasGenerated : Boolean from Standard is protected; myHasModified : Boolean from Standard is protected; myImagesResult : IndexedDataMapOfShapeListOfShape from BOPCol is protected; myFlagHistory : Boolean from Standard is protected; end BuilderShape;