Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Curve Class / Evaluate Method / Evaluate(Double,Int32) Method
The parametric value
The degree of the derivative
Example

In This Topic
    Evaluate(Double,Int32) Method
    In This Topic
    Computes the curve derivatives at parametric value u.
    Syntax
    'Declaration
     
    Public Overloads Function Evaluate( _
       ByVal u As Double, _
       ByVal d As Integer _
    ) As Vector3D()
    public Vector3D[] Evaluate( 
       double u,
       int d
    )

    Parameters

    u
    The parametric value
    d
    The degree of the derivative

    Return Value

    The derivatives array.
    Example
    The following code fragment demonstrates how to compute the first 2 derivatives of the curve at the parametric value [0.25].
    Vector3D[] CK = myCurve.Evaluate(0.25, 2);
     
    Vector3D C   = CK[0];
    Vector3D Cu  = CK[1];
    Vector3D Cuu = CK[2];
    Dim CK() As Vector3D = MyCurve.Evaluate(0.25, 2)
     
    Dim C As Vector3D = CK(0)
    Dim Cu As Vector3D = CK(1)
    Dim Cuu As Vector3D = CK(2)
    See Also