squaredDistanceTo method

Returns the squared distance between this and other.

T squaredDistanceTo(
Point<T> other
)

Returns the squared distance between this and other.

Squared distances can be used for comparisons when the actual value is not required.