0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / Contap / Contap_SurfFunction.cdl
old mode 100755 (executable)
new mode 100644 (file)
index 9179023..ac5b450
@@ -1,31 +1,36 @@
--- File:       Contap_SurfFunction.cdl
--- Created:    Thu Jun  3 15:23:20 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
-
-generic class SurfFunction from Contap 
-    (TheSurface as any;
-     TheSurfaceTool as any;
-     TheSurfProps   as any; -- as SurfProps from Contap(TheSurface,
-                            --                          TheSurfaceTool)
-     TheContTool    as any)
-
-inherits FunctionSetWithDerivatives from math                         
+-- Created on: 1993-06-03
+-- Created by: Jacques GOUSSARD
+-- Copyright (c) 1993-1999 Matra Datavision
+-- Copyright (c) 1999-2014 OPEN CASCADE SAS
+--
+-- This file is part of Open CASCADE Technology software library.
+--
+-- This library is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU Lesser General Public License version 2.1 as published
+-- by the Free Software Foundation, with special exception defined in the file
+-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+-- distribution for complete text of the license and disclaimer of any warranty.
+--
+-- Alternatively, this file may be used under the terms of Open CASCADE
+-- commercial license or contractual agreement.
+
+class SurfFunction from Contap inherits FunctionSetWithDerivatives from math
     
        ---Purpose: This class describes the function on a parametric surface.
        --          the form of the function is F(u,v) = 0 where u and v are
        --          the parameteric coordinates of a point on the surface,
        --          to compute the contours of the surface.
 
-uses Vector    from math,
-     Matrix    from math,
-     Pnt       from gp,
-     Vec       from gp,
-     Dir       from gp,
-     Dir2d     from gp,
-     TFunction from Contap
+uses Vector       from math,
+     Matrix       from math,
+     Pnt          from gp,
+     Vec          from gp,
+     Dir          from gp,
+     Dir2d        from gp,
+     TFunction    from Contap,
+     HSurface     from Adaptor3d,
+     HSurfaceTool from Adaptor3d,
+     HContTool    from Contap
 
 
 raises UndefinedDerivative from StdFail
@@ -37,7 +42,7 @@ is
        returns SurfFunction from Contap;
 
 
-    Set(me: in out; S: TheSurface)
+    Set(me: in out; S: HSurface  from Adaptor3d)
 
        is static;
 
@@ -194,7 +199,7 @@ is
 
     Surface(me)
     
-       returns any TheSurface
+       returns any HSurface  from Adaptor3d
        ---C++: return const&
        ---C++: inline
        is static;
@@ -203,7 +208,7 @@ is
 
 fields
 
-    mySurf   : TheSurface;
+    mySurf   : HSurface  from Adaptor3d;
     myMean   : Real      from Standard;
     myType   : TFunction from Contap;
     myDir    : Dir       from gp;