-- Created on: 1993-10-14 -- Created by: Remi LEQUETTE -- Copyright (c) 1993-1999 Matra Datavision -- Copyright (c) 1999-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. deferred class BooleanOperation from BRepAlgo inherits MakeShape from BRepBuilderAPI ---Purpose: The abstract class BooleanOperation is the root -- class of Boolean operations. -- A BooleanOperation object stores the two shapes in -- preparation for the Boolean operation specified in -- one of the classes inheriting from this one. These include: -- - Common -- - Cut -- - Fuse -- - Section. uses State from TopAbs, Shape from TopoDS, Face from TopoDS, Edge from TopoDS, MapOfShape from TopTools, DataMapOfShapeShape from TopTools, ListOfShape from TopTools, HBuilder from TopOpeBRepBuild, ShapeModification from BRepBuilderAPI is Initialize (S1,S2 : Shape from TopoDS); ---Purpose: Prepares the operations for S1 and S2. --modified by NIZNHY-PKV Sun Dec 15 17:16:48 2002 f Delete(me: out) is redefined virtual; ---C++: alias "Standard_EXPORT virtual ~BRepAlgo_BooleanOperation() {Delete();}" --modified by NIZNHY-PKV Sun Dec 15 17:16:51 2002 t PerformDS(me : in out) ---Purpose: ---Level: Public is static; Perform(me : in out; St1,St2 : State from TopAbs) ---Level: Public is static; Builder(me) returns HBuilder from TopOpeBRepBuild ---Level: Advanced is static; Shape1(me) returns Shape from TopoDS ---Purpose: Returns the first shape involved in this Boolean operation. ---C++: return const & ---Level: Public is static; Shape2(me) returns Shape from TopoDS ---Purpose: Returns the second shape involved in this Boolean operation. ---C++: return const & ---Level: Public is static; BuilderCanWork(me : in out; B : Boolean from Standard) is protected; BuilderCanWork(me) returns Boolean from Standard is protected; InitParameters(me : out) ---Purpose: ---Level: Private is virtual protected; ---Category: Querying Modified (me: in out; S : Shape from TopoDS) ---Purpose: Returns the list of shapes modified from the shape -- . ---C++: return const & ---Level: Public returns ListOfShape from TopTools is redefined virtual; IsDeleted (me: in out; S : Shape from TopoDS) returns Boolean is redefined virtual; fields myHBuilder : HBuilder from TopOpeBRepBuild is protected; myS1 : Shape from TopoDS is protected; myS2 : Shape from TopoDS is protected; myMap : MapOfShape from TopTools; myBuilderCanWork : Boolean from Standard; topToSew : DataMapOfShapeShape from TopTools; end BooleanOperation;