Last active
September 5, 2023 03:12
-
-
Save mcsee/9f7c55093672a63ec8c89ca24b9a7277 to your computer and use it in GitHub Desktop.
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
<? | |
final class GeographicCoordinate { | |
function distanceTo(GeographicCoordinate $coordinate) { } | |
function pointInPolygon(Polygon $polygon) { } | |
} | |
// Now you are in geometry world (and not in the world of arrays anymore). | |
// You can safely do many exciting things. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment