See #22115 (dist): Extract methods from LatLon into ILatLon where they are generally applicable
This uses the extracted methods where possible, and removes unnecessary Node#getCoor calls.
Changeset view not shown, since the total size (16.9 MB) exceeds 9.5 MB