b311480e |
1 | -- Created on: 1993-06-14 |
2 | -- Created by: Jean Yves LEBEY |
3 | -- Copyright (c) 1993-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 BuilderON from TopOpeBRepBuild |
23 | |
24 | uses |
25 | |
26 | PBuilder from TopOpeBRepBuild, |
27 | PGTopo from TopOpeBRepBuild, |
28 | PWireEdgeSet from TopOpeBRepBuild, |
29 | ListOfShape from TopTools, |
30 | Shape from TopoDS, |
31 | Interference from TopOpeBRepDS, |
32 | ListOfInterference from TopOpeBRepDS, |
33 | Plos from TopOpeBRepTool |
34 | |
35 | is |
36 | -- BuilderON3d |
37 | -------------- |
38 | Create returns BuilderON; |
39 | Create(PB:PBuilder;F:Shape;PG:PGTopo;PLSclass:Plos;PWES:PWireEdgeSet) returns BuilderON; |
40 | Perform(me:in out;PB:PBuilder;F:Shape;PG:PGTopo;PLSclass:Plos;PWES:PWireEdgeSet) is static; |
41 | |
42 | -- private |
43 | GFillONCheckI(me;I:Interference) returns Boolean; |
44 | GFillONPartsWES1(me:in out;I:Interference); |
45 | GFillONPartsWES2(me:in out;I:Interference;EspON:Shape); |
46 | |
47 | |
48 | -- BuilderON2d |
49 | -------------- |
50 | Perform2d(me:in out;PB:PBuilder;F:Shape;PG:PGTopo;PLSclass:Plos;PWES:PWireEdgeSet) is static; |
51 | |
52 | -- private |
53 | GFillONParts2dWES2(me:in out;I:Interference;EspON:Shape); |
54 | |
55 | fields |
56 | |
57 | myPB : PBuilder from TopOpeBRepBuild; |
58 | myPG : PGTopo from TopOpeBRepBuild; |
59 | myPLSclass : Plos from TopOpeBRepTool; |
60 | myPWES : PWireEdgeSet from TopOpeBRepBuild; |
61 | myFace : Shape from TopoDS; |
62 | |
63 | myFEI : ListOfInterference from TopOpeBRepDS; --BuilderON2d |
64 | |
65 | end BuilderON from TopOpeBRepBuild; |