distanceFrom

public double distanceFrom(Point otherPoint)

Calculates the distance between this Point and some other specified Point.

Return

returns the distance between the two Points.

Parameters

otherPoint

the other specified Point.