Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Curve Class / MinimumDistance Method
First curve
Second curve
Tolerance
Initial guess on F curve domain
Initial guess on G curve domain
The resulting minimum distance

In This Topic
    MinimumDistance Method (Curve)
    In This Topic
    Computes the minimum distance between two curves.
    Syntax
    'Declaration
     
    Public Shared Function MinimumDistance( _
       ByVal F As Curve, _
       ByVal G As Curve, _
       ByVal tol As Double, _
       ByRef u As Double, _
       ByRef s As Double, _
       ByRef distance As Double _
    ) As Boolean
    public static bool MinimumDistance( 
       Curve F,
       Curve G,
       double tol,
       ref double u,
       ref double s,
       out double distance
    )

    Parameters

    F
    First curve
    G
    Second curve
    tol
    Tolerance
    u
    Initial guess on F curve domain
    s
    Initial guess on G curve domain
    distance
    The resulting minimum distance

    Return Value

    True if the operation was successful, false otherwise.
    See Also