Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/geom.git] / src / NMTTools / NMTTools_Tools.cdl
1 --  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 --
6 --  This library is free software; you can redistribute it and/or
7 --  modify it under the terms of the GNU Lesser General Public
8 --  License as published by the Free Software Foundation; either
9 --  version 2.1 of the License.
10 --
11 --  This library is distributed in the hope that it will be useful,
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 --  Lesser General Public License for more details.
15 --
16 --  You should have received a copy of the GNU Lesser General Public
17 --  License along with this library; if not, write to the Free Software
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 --
20 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22 -- File:        NMTTools_Tools.cdl
23 -- Created:     Mon Dec  8 10:32:34 2003
24 -- Author:      Peter KURNEV
25 --              <pkv@irinox>
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 --modified by NIZNHY-PKV Thu Nov 16 10:58:08 2006f          
85 --    MakePCurve(myclass;  
86 --          aE  :  Edge from TopoDS; 
87 --          aF  :  Face from TopoDS;  
88 --          aC2D:  Curve from Geom2d; 
89 --          aTolR2D: Real from Standard);  
90             
91     MakePCurve(myclass;  
92             aE   :  Edge from TopoDS; 
93             aF   :  Face from TopoDS;  
94             aC2D :  Curve from Geom2d); 
95              
96     UpdateEdge(myclass;  
97             aE   :  Edge from TopoDS;   
98             aTol :  Real from Standard);        
99 --modified by NIZNHY-PKV Thu Nov 16 10:58:14 2006t
100 --fields
101
102 end Tools;