Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Point2D Class / DistanceSquared Method
First point
Second point

In This Topic
    DistanceSquared Method (Point2D)
    In This Topic
    Computes the squared distance between two 2D points.
    Syntax
    'Declaration
     
    Public Shared Function DistanceSquared( _
       ByVal a As Point2D, _
       ByVal b As Point2D _
    ) As Double
    public static double DistanceSquared( 
       Point2D a,
       Point2D b
    )

    Parameters

    a
    First point
    b
    Second point

    Return Value

    The squared distance between p1 and p2.
    See Also