Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Position moveSouthWest(Position other) {
- return from(Math.min(lat, other.lat), Math.min(lon, other.lon));
- }
- public Position moveNorthEast(Position other) {
- return from(Math.max(lat, other.lat), Math.max(lon, other.lon));
- }
Add Comment
Please, Sign In to add comment