Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Curve Class / LocalApproximation Method / LocalApproximation(IList<PointTangent>,Double) Method
The list of points with tangents to approximate
The maximum error allowed

In This Topic
    LocalApproximation(IList<PointTangent>,Double) Method
    In This Topic
    Local cubic approximation of a curve bounded to a certain error.
    Syntax
    'Declaration
     
    Public Overloads Shared Function LocalApproximation( _
       ByVal Q As IList(Of PointTangent), _
       ByVal err As Double _
    ) As Curve
    public static Curve LocalApproximation( 
       IList<PointTangent> Q,
       double err
    )

    Parameters

    Q
    The list of points with tangents to approximate
    err
    The maximum error allowed

    Return Value

    The approximated curve if the operation is successful, null/Nothing otherwise.
    See Also