mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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.
159 lines
5.5 KiB
Plaintext
159 lines
5.5 KiB
Plaintext
-- Created on: 1991-05-13
|
|
-- Created by: Laurent PAINNOT
|
|
-- Copyright (c) 1991-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 FunctionTanCuCuOnCu from GccIter (
|
|
TheCurve as any;
|
|
TheCurveTool as any) -- as CurvePGTool from GccInt (TheCurve)
|
|
|
|
inherits FunctionSetWithDerivatives from math
|
|
|
|
---Purpose: This abstract class describes a set on N Functions of
|
|
-- M independant variables.
|
|
|
|
uses Vector from math,
|
|
Matrix from math,
|
|
Circ2d from gp,
|
|
Lin2d from gp,
|
|
Pnt2d from gp,
|
|
Vec2d from gp,
|
|
Type2 from GccIter
|
|
|
|
raises ConstructionError
|
|
|
|
is
|
|
|
|
Create (C1 : TheCurve ;
|
|
C2 : TheCurve ;
|
|
OnCi : Circ2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : Circ2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnCi : Circ2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (L1 : Lin2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnCi : Circ2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : TheCurve ;
|
|
P2 : Pnt2d from gp ;
|
|
OnCi : Circ2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
Create (C1 : TheCurve ;
|
|
C2 : TheCurve ;
|
|
OnLi : Lin2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : Circ2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnLi : Lin2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (L1 : Lin2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnLi : Lin2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : TheCurve ;
|
|
P2 : Pnt2d from gp ;
|
|
OnLi : Lin2d from gp ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
Create (C1 : TheCurve ;
|
|
C2 : TheCurve ;
|
|
OnCu : TheCurve ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : Circ2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnCu : TheCurve ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (L1 : Lin2d from gp ;
|
|
C2 : TheCurve ;
|
|
OnCu : TheCurve ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
Create (C1 : TheCurve ;
|
|
P1 : Pnt2d from gp ;
|
|
OnCu : TheCurve ;
|
|
Rad : Real from Standard )
|
|
returns FunctionTanCuCuOnCu from GccIter;
|
|
|
|
InitDerivative(me : in out ;
|
|
X : Vector from math ;
|
|
Point1,Point2,Point3 : out Pnt2d from gp ;
|
|
Tan1,Tan2,Tan3,D21,D22,D23 : out Vec2d from gp )
|
|
raises ConstructionError
|
|
is static;
|
|
|
|
NbVariables(me) returns Integer;
|
|
---Purpose: Returns the number of variables of the function.
|
|
|
|
NbEquations(me) returns Integer;
|
|
---Purpose: Returns the number of equations of the function.
|
|
|
|
Value(me : in out ;
|
|
X : Vector from math;
|
|
F : out Vector from math) returns Boolean;
|
|
---Purpose: Computes the values of the Functions for the variable <X>.
|
|
|
|
Derivatives(me : in out ;
|
|
X : Vector from math;
|
|
D : out Matrix from math) returns Boolean;
|
|
---Purpose: Returns the values of the derivatives for the variable <X>.
|
|
|
|
Values(me : in out ;
|
|
X : Vector from math;
|
|
F : out Vector from math;
|
|
D : out Matrix from math) returns Boolean;
|
|
---Purpose: Returns the values of the functions and the derivatives
|
|
-- for the variable <X>.
|
|
|
|
fields
|
|
|
|
Curv1 : TheCurve ;
|
|
Curv2 : TheCurve ;
|
|
Circ1 : Circ2d from gp ;
|
|
Lin1 : Lin2d from gp ;
|
|
Pnt2 : Pnt2d from gp ;
|
|
Circon : Circ2d from gp ;
|
|
Linon : Lin2d from gp ;
|
|
Curvon : TheCurve ;
|
|
FirstRad : Real from Standard ;
|
|
TheType : Type2 from GccIter ;
|
|
|
|
end FunctionTanCuCuOnCu;
|
|
|