Salome HOME
NPAL17431: About WhatIs dialog box. Set font-dependent height.
[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/ or email : webmaster.salome@opencascade.com
19 -- 
20
21 -- File:        NMTTools_Tools.cdl
22 -- Created:     Mon Dec  8 10:32:34 2003
23 -- Author:      Peter KURNEV
24 --              <pkv@irinox>
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 --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;