PHPGeo v4.1.0 Release Notes
Release Date: 2022-06-03 // almost 2 years ago-
🚀 This release has no breaking changes.
Thanks, @nilshoerrmann, for contributing!
➕ Added
- method
Bounds::getAsPolygon()
which returns a polygon containing the four nodes of the Bounds instance - methods
Bounds::getNorthEast()
andBounds::getSouthWest()
- 🆕 new public methods:
CardinalDirection::isStrictlyNorth()
,CardinalDirection::isStrictlyEast()
,CardinalDirection::isStrictlySouth()
andCardinalDirection::isStrictlyWest()
- 🆕 new class
Direction
for checking if one point is north, eat, south or west from another point - 🆕 new Class
Intersection
for checking if two geometries intersect each other
- method