pt Line Dist Sq
Returns the square of the distance from a point to a line. The distance measured is the distance between the specified point and the closest point on the infinitely-extended line defined by the specified coordinates. If the specified point intersects the line, this method returns 0.0.
Return
a double value that is the square of the distance from the specified point to the specified line.
Since
1.2
Parameters
the X coordinate of the start point of the specified line
the Y coordinate of the start point of the specified line
the X coordinate of the end point of the specified line
the Y coordinate of the end point of the specified line
the X coordinate of the specified point being measured against the specified line
the Y coordinate of the specified point being measured against the specified line