Salome HOME
Fix Makefile.am
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeAlgo.cdl
index 26b5c27a92cc5844ee0336b2eb9179c2767ac73f..a11ea9301de02184b80a22763c7387ec678535ea 100644 (file)
@@ -1,29 +1,29 @@
--- Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+-- Copyright (C) 2007-2011  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 
+-- 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 
+--
+-- 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 
+-- 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
+-- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 --
--- File:       GEOMAlgo_ShapeAlgo.cdl
--- Created:    Tue Dec  7 12:05:19 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
 
+--  File:      GEOMAlgo_ShapeAlgo.cdl
+--  Created:   Tue Dec  7 12:05:19 2004
+--  Author:    Peter KURNEV
+--
 deferred class ShapeAlgo from GEOMAlgo 
     inherits Algo from GEOMAlgo  
     
@@ -39,7 +39,16 @@ is
     Initialize 
        returns ShapeAlgo from GEOMAlgo;  
     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeAlgo();"  
-    
+
+    SetContext(me:out;
+              theContext:Context from IntTools);
+       ---Purpose: Sets cashed geometrical tools
+
+    Context(me)
+       returns  Context from IntTools;
+       ---Purpose: Returns cashed geometrical tools
+    ---C++:  return const &
+
     SetShape(me:out; 
            aS:Shape from TopoDS);
      
@@ -56,7 +65,10 @@ is
     Result(me) 
        returns Shape from TopoDS; 
     ---C++:return const &  
-    
+
+    Perform(me:out)
+       is redefined;
+
 fields 
     myShape     : Shape from TopoDS is protected;     
     myTolerance : Real from Standard is protected;