b311480e |
1 | -- Created on: 2003-05-06 |
2 | -- Created by: Michael KLOKOV |
3 | -- Copyright (c) 2003-2012 OPEN CASCADE SAS |
4 | -- |
5 | -- The content of this file is subject to the Open CASCADE Technology Public |
6 | -- License Version 6.5 (the "License"). You may not use the content of this file |
7 | -- except in compliance with the License. Please obtain a copy of the License |
8 | -- at http://www.opencascade.org and read it completely before using this file. |
9 | -- |
10 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
11 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
12 | -- |
13 | -- The Original Code and all software distributed under the License is |
14 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
15 | -- Initial Developer hereby disclaims all such warranties, including without |
16 | -- limitation, any warranties of merchantability, fitness for a particular |
17 | -- purpose or non-infringement. Please see the License for the specific terms |
18 | -- and conditions governing the rights and limitations under the License. |
19 | |
7fd59977 |
20 | |
21 | |
22 | class Tools from QANewModTopOpe |
23 | uses |
24 | Edge from TopoDS, |
25 | Shape from TopoDS, |
26 | State from TopAbs, |
4e57c75e |
27 | PPaveFiller from BOPAlgo, |
28 | PBOP from BOPAlgo, |
7fd59977 |
29 | ListOfShape from TopTools, |
30 | IndexedDataMapOfShapeListOfShape from TopTools |
31 | |
32 | is |
33 | |
4e57c75e |
34 | NbPoints(myclass; theDSFiller: PPaveFiller from BOPAlgo) |
7fd59977 |
35 | returns Integer from Standard; |
36 | |
4e57c75e |
37 | NewVertex(myclass; theDSFiller: PPaveFiller from BOPAlgo; |
7fd59977 |
38 | theIndex : Integer from Standard) |
39 | returns Shape from TopoDS; |
40 | |
4e57c75e |
41 | HasSameDomain(myclass; theBuilder: PBOP from BOPAlgo; |
7fd59977 |
42 | theFace : Shape from TopoDS) |
43 | returns Boolean from Standard; |
44 | |
4e57c75e |
45 | SameDomain(myclass; theBuilder: PBOP from BOPAlgo; |
7fd59977 |
46 | theFace : Shape from TopoDS; |
47 | theResultList: out ListOfShape from TopTools); |
48 | |
4e57c75e |
49 | IsSplit(myclass; theDSFiller: PPaveFiller from BOPAlgo; |
7fd59977 |
50 | theEdge : Shape from TopoDS; |
51 | theState : State from TopAbs) |
52 | returns Boolean from Standard; |
53 | ---Warning: This method could be called only after boolean operation, |
54 | --- arguments of which was solids or compounds of solids. |
55 | --- |
56 | |
4e57c75e |
57 | Splits(myclass; theDSFiller: PPaveFiller from BOPAlgo; |
7fd59977 |
58 | theEdge : Shape from TopoDS; |
59 | theState : State from TopAbs; |
60 | theResultList: out ListOfShape from TopTools); |
61 | ---Warning: This method could be called only after boolean operation, |
62 | --- arguments of which was solids or compounds of solids. |
63 | --- |
64 | |
65 | SplitE(myclass; theEdge : Edge from TopoDS; |
66 | theSplits: out ListOfShape from TopTools) |
67 | returns Boolean from Standard; |
68 | |
4e57c75e |
69 | EdgeCurveAncestors(myclass; theDSFiller: PPaveFiller from BOPAlgo; |
7fd59977 |
70 | theEdge : Shape from TopoDS; |
71 | theFace1 : out Shape from TopoDS; |
72 | theFace2 : out Shape from TopoDS) |
73 | returns Boolean from Standard; |
74 | |
4e57c75e |
75 | EdgeSectionAncestors(myclass; theDSFiller: PPaveFiller from BOPAlgo; |
7fd59977 |
76 | theEdge : Shape from TopoDS; |
77 | LF1,LF2 : out ListOfShape from TopTools; |
78 | LE1,LE2 : out ListOfShape from TopTools) |
79 | returns Boolean from Standard; |
80 | |
81 | BoolOpe(myclass; theFace1: Shape from TopoDS; |
82 | theFace2: Shape from TopoDS; |
83 | IsCommonFound: out Boolean from Standard; |
84 | theHistoryMap: out IndexedDataMapOfShapeListOfShape from TopTools) |
85 | returns Boolean from Standard; |
86 | |
87 | end Tools from QANewModTopOpe; |