Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTTools / NMTTools_Tools.cdl
1 -- File:        NMTTools_Tools.cdl
2 -- Created:     Mon Dec  8 10:32:34 2003
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2003
6
7
8 class Tools from NMTTools 
9
10         ---Purpose: 
11
12 uses
13     Vertex from TopoDS, 
14     Edge from TopoDS, 
15     Face from TopoDS, 
16     Context from IntTools,  
17     Curve from Geom2d,
18      
19     ListOfShape from TopTools,
20     IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd, 
21     CArray1OfVVInterference from BOPTools, 
22     CArray1OfSSInterference from BOPTools, 
23     ListOfCoupleOfShape from NMTTools, 
24     IndexedDataMapOfShapeIndexedMapOfShape from NMTTools
25
26 --raises
27
28 is 
29     MakeNewVertex  (myclass;  
30                     aLV : ListOfShape from TopTools; 
31                     aNewVertex: out Vertex from TopoDS); 
32     FindChains(myclass; 
33         aVVs:CArray1OfVVInterference from BOPTools; 
34         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
35      
36     FindChains(myclass; 
37         aVVs:CArray1OfSSInterference from BOPTools; 
38         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd);  
39      
40     FindChains(myclass;   
41         aMCV: IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd; 
42         aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
43         
44      
45     IsSplitInOnFace(myclass; 
46             aE  : Edge from TopoDS; 
47             aF  : Face from TopoDS; 
48             aCtx:out Context from IntTools) 
49         returns Boolean from Standard; 
50
51     AreFacesSameDomain(myclass; 
52             aF1  : Face from TopoDS; 
53             aF2  : Face from TopoDS; 
54             aCtx : out Context from IntTools) 
55         returns Boolean from Standard; 
56
57     FindChains(myclass; 
58             aLCS:ListOfCoupleOfShape from NMTTools; 
59             aM  :out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);    
60
61     FindChains(myclass; 
62             aM1: IndexedDataMapOfShapeIndexedMapOfShape from NMTTools;
63             aM2:out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);
64      
65     MakePCurve(myclass;  
66             aE  :  Edge from TopoDS; 
67             aF  :  Face from TopoDS;  
68             aC2D:  Curve from Geom2d; 
69             aTolR2D: Real from Standard);    
70 --fields
71
72 end Tools;