public double getDistanceTo(final Point2D anotherPoint) {
final double xDiff = x - anotherPoint.x;
final double yDiff = y - anotherPoint.y;
public double getDistanceTo(final Point2D anotherPoint) {
final double xDiff = x - anotherPoint.x;
final double yDiff = y - anotherPoint.y;