mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
120 lines
3.6 KiB
Plaintext
120 lines
3.6 KiB
Plaintext
-- Created on: 1998-04-27
|
|
-- Created by: Stephanie HUMEAU
|
|
-- 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 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.
|
|
|
|
private class FunctionDraft from GeomFill
|
|
inherits FunctionSetWithDerivatives from math
|
|
|
|
uses
|
|
|
|
Vector from math,
|
|
Matrix from math,
|
|
HSurface from Adaptor3d,
|
|
HCurve from Adaptor3d,
|
|
Vec from gp,
|
|
Tensor from GeomFill
|
|
|
|
is
|
|
|
|
Create(S : HSurface from Adaptor3d ; C : HCurve from Adaptor3d)
|
|
returns FunctionDraft from GeomFill ;
|
|
|
|
NbVariables(me)
|
|
---Purpose: returns the number of variables of the function.
|
|
|
|
returns Integer is redefined;
|
|
|
|
|
|
NbEquations(me)
|
|
---Purpose: returns the number of equations of the function.
|
|
|
|
returns Integer is redefined;
|
|
|
|
|
|
Value(me: in out; X: Vector; F: out Vector)
|
|
---Purpose: computes the values <F> of the Functions for the
|
|
-- variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is redefined;
|
|
|
|
|
|
Derivatives(me: in out; X: Vector; D: out Matrix)
|
|
---Purpose: returns the values <D> of the derivatives for the
|
|
-- variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is redefined;
|
|
|
|
|
|
Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
|
|
---Purpose: returns the values <F> of the functions and the derivatives
|
|
-- <D> for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is redefined;
|
|
|
|
|
|
DerivT(me: in out;
|
|
C : HCurve from Adaptor3d;
|
|
Param : Real from Standard;
|
|
W : Real from Standard;
|
|
dN : Vec from gp;
|
|
teta : Real;
|
|
F: out Vector)
|
|
---Purpose: returns the values <F> of the T derivatives for
|
|
-- the parameter Param .
|
|
returns Boolean is static;
|
|
|
|
|
|
Deriv2T(me: in out;
|
|
C : HCurve from Adaptor3d;
|
|
Param : Real from Standard;
|
|
W : Real from Standard;
|
|
d2N : Vec from gp;
|
|
teta : Real;
|
|
F: out Vector)
|
|
---Purpose: returns the values <F> of the T2 derivatives for
|
|
-- the parameter Param .
|
|
returns Boolean is static;
|
|
|
|
|
|
DerivTX(me: in out;
|
|
dN : Vec from gp;
|
|
teta : Real;
|
|
D: out Matrix)
|
|
---Purpose: returns the values <D> of the TX derivatives for
|
|
-- the parameter Param .
|
|
returns Boolean is static;
|
|
|
|
|
|
Deriv2X(me: in out;
|
|
X : Vector from math;
|
|
T: out Tensor)
|
|
---Purpose: returns the values <T> of the X2 derivatives for
|
|
-- the parameter Param .
|
|
returns Boolean is static;
|
|
|
|
|
|
|
|
fields
|
|
TheCurve : HCurve from Adaptor3d;
|
|
TheSurface : HSurface from Adaptor3d;
|
|
|
|
end FunctionDraft;
|