Point.distanceTo

double distanceTo(Point other) const @safe nothrow @nogc

Calculates distance to another point.

Parameters

otherTarget point

Returns

Euclidean distance