0024428: Implementation of LGPL license
[occt.git] / src / BRepAlgoAPI / BRepAlgoAPI_Fuse.cdl
1 -- Created on: 1993-10-14
2 -- Created by: Remi LEQUETTE
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class Fuse from BRepAlgoAPI inherits BooleanOperation from BRepAlgoAPI
18
19         ---Purpose:  The class Fuse provides a
20         -- Boolean fusion operation on a pair of arguments (Boolean Union).
21         -- The class Fuse provides a framework for:
22         --   -       Defining the construction of a fused shape;
23         --   -       Implementing the building algorithm
24         --   -       Consulting the result.
25
26 uses
27     Shape from TopoDS, 
28     PaveFiller from BOPAlgo
29
30 is
31     Create (S1,S2 : Shape from TopoDS)  
32         returns Fuse from BRepAlgoAPI;  
33         ---Purpose: Constructs a fuse of shapes aS1 and aS2.
34          
35     Create (S1,S2 : Shape from TopoDS; 
36             aDSF:PaveFiller from BOPAlgo)  
37         returns Fuse from BRepAlgoAPI; 
38     
39         ---Purpose: Constructs a new shape that is a fuse of shapes aS1 and aS2 using aDSFiller. 
40     
41 end Fuse;