Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Surface Class / ClosestPointTo Method / ClosestPointTo(Point3D,Double,Double) Method
The 3D point to project
The U parametric coordinate of the closest point on surface to P
The V parametric coordinate of the closest point on surface to P

In This Topic
    ClosestPointTo(Point3D,Double,Double) Method
    In This Topic
    Finds the closest point on the surface.
    Syntax
    'Declaration
     
    Public Overloads Sub ClosestPointTo( _
       ByVal P As Point3D, _
       ByRef u As Double, _
       ByRef v As Double _
    ) 
    public void ClosestPointTo( 
       Point3D P,
       out double u,
       out double v
    )

    Parameters

    P
    The 3D point to project
    u
    The U parametric coordinate of the closest point on surface to P
    v
    The V parametric coordinate of the closest point on surface to P
    Remarks
    It also checks the trimloops, so that the result is always on the surface.
    See Also