Salome HOME
Preparation of intermediate revision
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_Gluer.cdl
index 84656b54a4b438ef3480e4e109c40df6e00eee0e..76631ff57d42c1da06366012662772bd18518573 100755 (executable)
@@ -1,10 +1,29 @@
+--  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+--
+--  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+--  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+--
+--  This library is free software; you can redistribute it and/or
+--  modify it under the terms of the GNU Lesser General Public
+--  License as published by the Free Software Foundation; either
+--  version 2.1 of the License.
+--
+--  This library is distributed in the hope that it will be useful,
+--  but WITHOUT ANY WARRANTY; without even the implied warranty of
+--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+--  Lesser General Public License for more details.
+--
+--  You should have received a copy of the GNU Lesser General Public
+--  License along with this library; if not, write to the Free Software
+--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+--
+--  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+--
 -- File:       GEOMAlgo_Gluer.cdl
 -- Created:    Sat Dec 04 12:41:32 2004
 -- Author:     Peter KURNEV
 --             <peter@PREFEX>
----Copyright:   Matra Datavision 2004
-
-
+--
 class Gluer from GEOMAlgo  
     inherits ShapeAlgo from GEOMAlgo
 
@@ -14,11 +33,14 @@ uses
     ShapeEnum from TopAbs,
     Shape from TopoDS,  
     Edge from TopoDS, 
-    Face from TopoDS,
+    Face from TopoDS, 
+    Vertex from TopoDS, 
+    ListOfShape from TopTools,
     DataMapOfShapeShape from TopTools,
     DataMapOfShapeListOfShape from TopTools, 
     Context from IntTools, 
-    PassKey from GEOMAlgo
+    PassKeyShape from GEOMAlgo
+
 --raises
 
 is 
@@ -33,17 +55,33 @@ is
        returns Boolean from Standard; 
   
     Perform(me:out) 
-       is redefined;  
-        
+       is redefined;   
+       
+    AloneShapes(me) 
+        returns Integer from Standard;     
+
+    --modified by NIZNHY-PKV Fri Jan 21 14:16:58 2005f-
+    Modified(me:out;  
+           S : Shape from TopoDS) 
+       returns ListOfShape from TopTools;
+    ---C++: return const & 
+   
+    Generated(me:out;  
+           S : Shape from TopoDS) 
+       returns ListOfShape from TopTools;
+    ---C++: return const & 
+
+    IsDeleted (me:out;  
+           S : Shape from TopoDS)
+       returns Boolean from Standard; 
+    --modified by NIZNHY-PKV Fri Jan 21 14:17:04 2005t  
+
     CheckData(me:out) 
        is redefined protected; 
         
     CheckResult        (me:out) 
        is redefined protected; 
         
-    BuildResult        (me:out) 
-       is protected;
-     
     MakeVertices(me:out) 
        is protected;   
   
@@ -68,14 +106,18 @@ is
  
     EdgePassKey(me:out; 
            aE:Edge from TopoDS;  
-           aPK:out PassKey from GEOMAlgo) 
+           aPK:out PassKeyShape from GEOMAlgo)  
        is protected;     
    
     FacePassKey(me:out; 
            aF:Face from TopoDS;  
-           aPK:out PassKey from GEOMAlgo) 
+           aPK:out PassKeyShape from GEOMAlgo)  
        is protected; 
         
+    MakeVertex(me:out; 
+           aLV   : ListOfShape from TopTools;  
+           aNewV: out Vertex from TopoDS) 
+       is protected;   
     MakeEdge(me:out; 
            aEdge   : Edge from TopoDS;  
            aNewEdge: out Edge from TopoDS) 
@@ -90,6 +132,11 @@ is
            aFR : Face from TopoDS;  
            aF  : Face from TopoDS) 
        returns Boolean from Standard        
+       is protected;  
+     
+    HasNewSubShape(me; 
+           aS  : Shape from TopoDS) 
+       returns Boolean from Standard        
        is protected; 
 -- 
     Images(me) 
@@ -101,13 +148,13 @@ is
     ---C++:return const &  
     
 fields 
-    
-    myCheckGeometry : Boolean from Standard is protected;   
-  
-    myImages    : DataMapOfShapeListOfShape from TopTools is protected;   
-    myOrigins   : DataMapOfShapeShape from TopTools is protected; 
-    myContext   : Context from IntTools is protected;       
-    myTypeResult: ShapeEnum from TopAbs is protected;   
-    myTol       : Real from Standard is protected;   
+    myCheckGeometry : Boolean from Standard is protected; 
+    myTol         : Real from Standard is protected;   
+    myImages      : DataMapOfShapeListOfShape from TopTools is protected;   
+    myOrigins     : DataMapOfShapeShape from TopTools is protected; 
+    myNbAlone     : Integer from Standard is protected;      
+----    
+    myGenerated   : ListOfShape from TopTools is protected;
+----    
 
 end Gluer;