]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTTools/NMTTools_Tools.cdl
Salome HOME
86ce89dba0a9631b631c05faa3244733db50e106
[modules/geom.git] / src / NMTTools / NMTTools_Tools.cdl
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/
19 //
20 -- File:        NMTTools_Tools.cdl
21 -- Created:     Mon Dec  8 10:32:34 2003
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24 ---Copyright:    Matra Datavision 2003
25
26
27 class Tools from NMTTools 
28
29         ---Purpose: 
30
31 uses
32     Vertex from TopoDS, 
33     Edge from TopoDS, 
34     Face from TopoDS, 
35     Context from IntTools,  
36     Curve from Geom2d,
37      
38     ListOfShape from TopTools,
39     IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd, 
40     CArray1OfVVInterference from BOPTools, 
41     CArray1OfSSInterference from BOPTools, 
42     ListOfCoupleOfShape from NMTTools, 
43     IndexedDataMapOfShapeIndexedMapOfShape from NMTTools
44
45 --raises
46
47 is 
48     MakeNewVertex  (myclass;  
49                     aLV : ListOfShape from TopTools; 
50                     aNewVertex: out Vertex from TopoDS); 
51     FindChains(myclass; 
52         aVVs:CArray1OfVVInterference from BOPTools; 
53         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
54      
55     FindChains(myclass; 
56         aVVs:CArray1OfSSInterference from BOPTools; 
57         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd);  
58      
59     FindChains(myclass;   
60         aMCV: IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd; 
61         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
62         
63      
64     IsSplitInOnFace(myclass; 
65             aE  : Edge from TopoDS; 
66             aF  : Face from TopoDS; 
67             aCtx:out Context from IntTools) 
68         returns Boolean from Standard; 
69
70     AreFacesSameDomain(myclass; 
71             aF1  : Face from TopoDS; 
72             aF2  : Face from TopoDS; 
73             aCtx : out Context from IntTools) 
74         returns Boolean from Standard; 
75
76     FindChains(myclass; 
77             aLCS:ListOfCoupleOfShape from NMTTools; 
78             aM  :out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);    
79
80     FindChains(myclass; 
81             aM1: IndexedDataMapOfShapeIndexedMapOfShape from NMTTools;
82             aM2:out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);
83      
84     MakePCurve(myclass;  
85             aE  :  Edge from TopoDS; 
86             aF  :  Face from TopoDS;  
87             aC2D:  Curve from Geom2d; 
88             aTolR2D: Real from Standard);    
89 --fields
90
91 end Tools;