Squared distance from this to arg
arg
double distanceToSquared(Vector2 arg) { final double dx = x - arg.x; final double dy = y - arg.y; return dx * dx + dy * dy; }