Eyeshot 10 WinForms API Reference
DistanceSquared Method (Point2D)

WinForms Assembly > devDept.Geometry Namespace > Point2D Class : DistanceSquared Method
First point
Second point
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

Reference

Point2D Class
Point2D Members