-- Created on: 1992-03-27 -- Created by: Isabelle GRIGNON -- Copyright (c) 1992-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. generic class ZerImpFunc from IntImp (ThePSurface as any; ThePSurfaceTool as any; TheISurface as any; TheISurfaceTool as any) inherits FunctionSetWithDerivatives from math ---Purpose: this function is associated to IWalking -- it's the function : F(x,y,z)=0 -- where x=X(u,v), y=Y(u,v), z=Z(u,v) uses Vector from math, Matrix from math, Pnt from gp, Vec from gp, Dir2d from gp raises UndefinedDerivative from StdFail is Create returns ZerImpFunc from IntImp; Create(PS: ThePSurface; IS: TheISurface) returns ZerImpFunc from IntImp; Create(IS: TheISurface) returns ZerImpFunc from IntImp; Set(me: in out; PS: ThePSurface) ---C++: inline is static; SetImplicitSurface(me: in out; IS: TheISurface) ---C++: inline is static; Set(me: in out; Tolerance: Real from Standard) ---C++: inline is static; NbVariables(me) returns Integer from Standard is static; NbEquations(me) returns Integer from Standard is static; Value(me : in out; X : Vector from math; F : out Vector from math) returns Boolean from Standard is static; Derivatives(me : in out; X : Vector from math; D : out Matrix from math) returns Boolean from Standard is static; Values(me : in out; X : Vector from math; F : out Vector from math; D : out Matrix from math) returns Boolean from Standard is static; Root(me) returns Real from Standard ---C++: inline is static; Tolerance(me) ---Purpose: Returns the value Tol so that if Abs(Func.Root())