mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
The copying permission statements at the beginning of source files updated to refer to LGPL. Copyright dates extended till 2014 in advance.
78 lines
2.4 KiB
Plaintext
78 lines
2.4 KiB
Plaintext
-- Created on: 1998-10-29
|
|
-- Created by: Philippe MANGIN
|
|
-- Copyright (c) 1998-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 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.
|
|
|
|
private class PlanFunc from GeomFill
|
|
inherits FunctionWithDerivative from math
|
|
|
|
---Purpose:
|
|
|
|
uses
|
|
HCurve from Adaptor3d,
|
|
Pnt from gp,
|
|
Vec from gp,
|
|
XYZ from gp
|
|
|
|
is
|
|
Create(P : Pnt; V : Vec; C : HCurve from Adaptor3d)
|
|
returns PlanFunc from GeomFill;
|
|
|
|
Value(me: in out; X: Real; F: out Real)
|
|
---Purpose: computes the value <F>of the function for the variable <X>.
|
|
-- Returns True if the calculation were successfully done,
|
|
-- False otherwise.
|
|
|
|
returns Boolean
|
|
is redefined;
|
|
|
|
Derivative(me: in out; X: Real; D: out Real)
|
|
---Purpose: computes the derivative <D> of the function
|
|
-- for the variable <X>.
|
|
-- Returns True if the calculation were successfully done,
|
|
-- False otherwise.
|
|
|
|
returns Boolean
|
|
is redefined;
|
|
|
|
Values(me: in out; X: Real; F, D: out Real)
|
|
---Purpose: computes the value <F> and the derivative <D> of the
|
|
-- function for the variable <X>.
|
|
-- Returns True if the calculation were successfully done,
|
|
-- False otherwise.
|
|
returns Boolean
|
|
is redefined;
|
|
|
|
D2(me:in out; X:Real; F, D1, D2: out Real)
|
|
is static;
|
|
|
|
DEDT(me : in out; X:Real;
|
|
DP, DV : Vec;
|
|
DF : out Real)
|
|
is static;
|
|
|
|
D2E(me : in out; X:Real;
|
|
DP, D2P : Vec;
|
|
DV, D2V : Vec;
|
|
DFDT, D2FDT2, D2FDTDX : out Real)
|
|
is static;
|
|
|
|
fields
|
|
myPnt : XYZ;
|
|
myVec : XYZ;
|
|
V : XYZ;
|
|
G : Pnt;
|
|
myCurve : HCurve from Adaptor3d;
|
|
end PlanFunc;
|