0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BOPAlgo / BOPAlgo_BuilderArea.cdl
CommitLineData
4e57c75e 1-- Created by: Peter KURNEV
973c2be1 2-- Copyright (c) 2010-2014 OPEN CASCADE SAS
4e57c75e 3-- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4-- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5-- EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6--
973c2be1 7-- This file is part of Open CASCADE Technology software library.
4e57c75e 8--
d5f74e42 9-- This library is free software; you can redistribute it and/or modify it under
10-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 11-- by the Free Software Foundation, with special exception defined in the file
12-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13-- distribution for complete text of the license and disclaimer of any warranty.
4e57c75e 14--
973c2be1 15-- Alternatively, this file may be used under the terms of Open CASCADE
16-- commercial license or contractual agreement.
4e57c75e 17
18deferred class BuilderArea from BOPAlgo
1e143abb 19 inherits Algo from BOPAlgo
20
21 ---Purpose: The root class for algorithms to build
22 -- faces/solids from set of edges/faces
4e57c75e 23
24uses
25 Shape from TopoDS,
26 BaseAllocator from BOPCol,
27 ListOfShape from BOPCol,
28 MapOfOrientedShape from BOPCol,
1e143abb 29 Context from IntTools
4e57c75e 30
31--raises
32
33is
34 Initialize
1e143abb 35 returns BuilderArea from BOPAlgo;
4e57c75e 36 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_BuilderArea();"
37
38 Initialize(theAllocator: BaseAllocator from BOPCol)
1e143abb 39 returns BuilderArea from BOPAlgo;
4e57c75e 40
41 SetContext(me:out;
1e143abb 42 theContext:Context from IntTools);
43
4e57c75e 44 Shapes(me)
1e143abb 45 returns ListOfShape from BOPCol;
4e57c75e 46 ---C++: return const &
47 ---C++: alias "Standard_EXPORT void SetShapes(const BOPCol_ListOfShape& theLS);"
48
49 Loops(me)
1e143abb 50 returns ListOfShape from BOPCol;
4e57c75e 51 ---C++: return const &
52
53 Areas(me)
1e143abb 54 returns ListOfShape from BOPCol;
4e57c75e 55 ---C++: return const &
56
57 PerformShapesToAvoid(me:out)
1e143abb 58 is deferred protected;
59
4e57c75e 60 PerformLoops(me:out)
1e143abb 61 is deferred protected;
62
4e57c75e 63 PerformAreas(me:out)
1e143abb 64 is deferred protected;
4e57c75e 65
66 PerformInternalShapes(me:out)
1e143abb 67 is deferred protected;
4e57c75e 68
69fields
1e143abb 70 myContext : Context from IntTools is protected;
4e57c75e 71 myShapes : ListOfShape from BOPCol is protected;
72 myLoops : ListOfShape from BOPCol is protected;
73 myLoopsInternal : ListOfShape from BOPCol is protected;
74
75 myAreas : ListOfShape from BOPCol is protected;
76 myShapesToAvoid : MapOfOrientedShape from BOPCol is protected;
1e143abb 77
4e57c75e 78end BuilderArea;
79