distanceTo method

double distanceTo(
  1. Coordinate other
)

Returns the distance between this and other.

Implementation

double distanceTo(Coordinate other)
{
  return Math.sqrt( squaredDistance(other) );
}