mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-26 01:57:30 +08:00
165 lines
5.8 KiB
Plaintext
Executable File
165 lines
5.8 KiB
Plaintext
Executable File
-- Created on: 1991-05-13
|
|
-- Created by: Laurent PAINNOT
|
|
-- Copyright (c) 1991-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
|
|
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;
|
|
|