Lines Matching defs:Point
6 use geoPHP\Geometry\Point;
79 * Convert the geoHash to a Point. The point is 2-dimensional.
84 * @return Point|Polygon the converted GeoHash
90 return new Point($decodedHash['centerLongitude'], $decodedHash['centerLatitude']);
96 new Point($decodedHash['minLongitude'], $decodedHash['maxLatitude']),
97 new Point($decodedHash['maxLongitude'], $decodedHash['maxLatitude']),
98 new Point($decodedHash['maxLongitude'], $decodedHash['minLatitude']),
99 new Point($decodedHash['minLongitude'], $decodedHash['minLatitude']),
100 new Point($decodedHash['minLongitude'], $decodedHash['maxLatitude']),
113 * @return string the GeoHash or null when the $geometry is not a Point
122 /** @var Point $geometry */
151 * @param Point $point
178 throw new \Exception("Point coordinates ({$point->x()}, {$point->y()}) are out of lat/lon range");