0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BOPAlgo / BOPAlgo_BuilderFace.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
18class BuilderFace from BOPAlgo
19 inherits BuilderArea from BOPAlgo
20
21 ---Purpose: The algorithm to build faces from set of edges
22
acccace3 23uses
24 Orientation from TopAbs,
4e57c75e 25 Face from TopoDS,
26 BaseAllocator from BOPCol
27--raises
28
29is
30 Create
31 returns BuilderFace from BOPAlgo;
32 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_BuilderFace();"
33
34 Create (theAllocator: BaseAllocator from BOPCol)
35 returns BuilderFace from BOPAlgo;
36
37 SetFace(me:out;
38 theFace:Face from TopoDS);
39 ---Purpose: Sets the face generatix
40
41 Face(me)
42 ---Purpose: Returns the face generatix
43 returns Face from TopoDS;
44 ---C++: return const &
45
46 Perform(me:out)
47 ---Purpose: Performs the algorithm
48 is redefined;
49
50 PerformShapesToAvoid(me:out)
51 ---Purpose: Collect the edges that
52 -- a) are internal
53 -- b) are the same and have different orientation
54 is redefined protected;
55
56 PerformLoops(me:out)
57 ---Purpose: Build draft wires
58 -- a)myLoops - draft wires that consist of
59 -- boundary edges
60 -- b)myLoopsInternal - draft wires that contains
61 -- inner edges
62 is redefined protected;
63
64 PerformAreas(me:out)
65 ---Purpose: Build draft faces that contains boundary edges
66 is redefined protected;
67
68 PerformInternalShapes(me:out)
69 ---Purpose: Build finalized faces with internals
70 is redefined protected;
71
72 CheckData(me:out)
73 is redefined protected;
acccace3 74
75 Orientation(me)
76 returns Orientation from TopAbs;
77
4e57c75e 78fields
79 myFace : Face from TopoDS is protected;
acccace3 80 myOrientation: Orientation from TopAbs is protected;
81
4e57c75e 82end BuilderFace;
83