1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/src/BRepAlgo/BRepAlgo_BooleanOperation.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

115 lines
3.4 KiB
Plaintext

-- Created on: 1993-10-14
-- 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 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
-- <S>.
---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;