Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Segment2D Class / ClosestPointTo Method
Test point

In This Topic
    ClosestPointTo Method (Segment2D)
    In This Topic
    Finds the point inside the segment that is closest to given point.
    Syntax
    'Declaration
     
    Public Function ClosestPointTo( _
       ByVal pt As Point2D _
    ) As Double
    public double ClosestPointTo( 
       Point2D pt
    )

    Parameters

    pt
    Test point

    Return Value

    The parameter of the point on the line that is closest to test point.
    See Also