Community
Participate
Working Groups
}
/**
* Returns the translation required to move this {@link Point} to the other
* {@link Point}
*
* @param other
* the {@link Point} to get the difference from
* @return the translation required to move this {@link Point} to the other
*/
public Point getDifference(Point other) {
return new Point(other.x - x, other.y - y);
* Calculates the distance from this Point to the one specified.
* @param p