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, |
27 | PDSFiller from BOPTools, |
28 | ListOfShape from TopTools, |
29 | IndexedDataMapOfShapeListOfShape from TopTools |
30 | |
31 | is |
32 | |
33 | NbPoints(myclass; theDSFiller: PDSFiller from BOPTools) |
34 | returns Integer from Standard; |
35 | |
36 | NewVertex(myclass; theDSFiller: PDSFiller from BOPTools; |
37 | theIndex : Integer from Standard) |
38 | returns Shape from TopoDS; |
39 | |
40 | HasSameDomain(myclass; theDSFiller: PDSFiller from BOPTools; |
41 | theFace : Shape from TopoDS) |
42 | returns Boolean from Standard; |
43 | |
44 | SameDomain(myclass; theDSFiller: PDSFiller from BOPTools; |
45 | theFace : Shape from TopoDS; |
46 | theResultList: out ListOfShape from TopTools); |
47 | |
48 | IsSplit(myclass; theDSFiller: PDSFiller from BOPTools; |
49 | theEdge : Shape from TopoDS; |
50 | theState : State from TopAbs) |
51 | returns Boolean from Standard; |
52 | ---Warning: This method could be called only after boolean operation, |
53 | --- arguments of which was solids or compounds of solids. |
54 | --- |
55 | |
56 | Splits(myclass; theDSFiller: PDSFiller from BOPTools; |
57 | theEdge : Shape from TopoDS; |
58 | theState : State from TopAbs; |
59 | theResultList: out ListOfShape from TopTools); |
60 | ---Warning: This method could be called only after boolean operation, |
61 | --- arguments of which was solids or compounds of solids. |
62 | --- |
63 | |
64 | SplitE(myclass; theEdge : Edge from TopoDS; |
65 | theSplits: out ListOfShape from TopTools) |
66 | returns Boolean from Standard; |
67 | |
68 | EdgeCurveAncestors(myclass; theDSFiller: PDSFiller from BOPTools; |
69 | theEdge : Shape from TopoDS; |
70 | theFace1 : out Shape from TopoDS; |
71 | theFace2 : out Shape from TopoDS) |
72 | returns Boolean from Standard; |
73 | |
74 | EdgeSectionAncestors(myclass; theDSFiller: PDSFiller from BOPTools; |
75 | theEdge : Shape from TopoDS; |
76 | LF1,LF2 : out ListOfShape from TopTools; |
77 | LE1,LE2 : out ListOfShape from TopTools) |
78 | returns Boolean from Standard; |
79 | |
80 | BoolOpe(myclass; theFace1: Shape from TopoDS; |
81 | theFace2: Shape from TopoDS; |
82 | IsCommonFound: out Boolean from Standard; |
83 | theHistoryMap: out IndexedDataMapOfShapeListOfShape from TopTools) |
84 | returns Boolean from Standard; |
85 | |
86 | end Tools from QANewModTopOpe; |