This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
normalize co-ordinates that lie outside of the normal ranges. | |
longitude wrapping simply requires adding +- 360 to the value until it comes | |
in to range. | |
for the latitude values we need to flip the longitude whenever the latitude | |
crosses a pole. | |
**/ |