Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Surface Class / MinimumDistance Method
First surface
Second surface
Tolerance
Initial guess on F surface U parametric direction
Initial guess on F surface V parametric direction
Initial guess on G surface U parametric direction
Initial guess on G surface V parametric direction
The resulting minimum distance

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

    Parameters

    F
    First surface
    G
    Second surface
    tol
    Tolerance
    u
    Initial guess on F surface U parametric direction
    v
    Initial guess on F surface V parametric direction
    s
    Initial guess on G surface U parametric direction
    t
    Initial guess on G surface V parametric direction
    distance
    The resulting minimum distance

    Return Value

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