b311480e |
1 | -- Created on: 1995-12-21 |
2 | -- Created by: Jean Yves LEBEY |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class Area1dBuilder from TopOpeBRepBuild |
23 | inherits AreaBuilder from TopOpeBRepBuild |
24 | |
25 | uses |
26 | |
27 | PaveSet from TopOpeBRepBuild, |
28 | PaveClassifier from TopOpeBRepBuild, |
29 | |
30 | Loop from TopOpeBRepBuild, |
31 | ListOfLoop from TopOpeBRepBuild, |
32 | ListIteratorOfListOfLoop from TopOpeBRepBuild, |
33 | ListOfListOfLoop from TopOpeBRepBuild, |
34 | ListIteratorOfListOfListOfLoop from TopOpeBRepBuild, |
35 | LoopSet from TopOpeBRepBuild, |
36 | LoopClassifier from TopOpeBRepBuild, |
37 | LoopEnum from TopOpeBRepBuild |
38 | |
39 | is |
40 | |
41 | Create returns Area1dBuilder; |
42 | |
43 | Create(LS : in out PaveSet; LC : in out PaveClassifier; |
44 | ForceClass : Boolean = Standard_False) returns Area1dBuilder; |
45 | ---Purpose: Creates a Area1dBuilder to find the areas of |
46 | -- the shapes described by <LS> using the classifier <LC>. |
47 | |
48 | InitAreaBuilder(me : in out; |
49 | LS : in out LoopSet; LC : in out LoopClassifier; |
50 | ForceClass : Boolean = Standard_False) |
51 | ---Purpose: Sets a Area1dBuilder to find the areas of |
52 | -- the shapes described by <LS> using the classifier <LC>. |
53 | is redefined; |
54 | |
55 | ADD_Loop_TO_LISTOFLoop(me; L : Loop; |
56 | LOL : in out ListOfLoop; |
57 | s : Address = NULL) is redefined; |
58 | |
59 | REM_Loop_FROM_LISTOFLoop(me; ITLOL : in out ListIteratorOfListOfLoop; |
60 | LOL : in out ListOfLoop; |
61 | s : Address = NULL) is redefined; |
62 | |
63 | ADD_LISTOFLoop_TO_LISTOFLoop(me; LOL1 : in out ListOfLoop; |
64 | LOL2 : in out ListOfLoop; |
65 | s : Address = NULL; |
66 | s1 : Address = NULL; |
67 | s2 : Address = NULL) is redefined; |
68 | |
69 | DumpList(myclass; L:ListOfLoop); |
70 | |
71 | end Area1dBuilder from TopOpeBRepBuild; |