/** * Get the nearest feature node to a specified position * * @param Base\Feature $pointSet The series of points from which we want the nearest feature node * @param string $method Distance::METHOD_HAVERSINE or Distance::METHOD_VINCENTY * @return LatLong * @throws Exception */ public function getNearestNeighbour(Base\Feature $pointSet, $method = Distance::METHOD_HAVERSINE) { return $pointSet->getNearestNeighbour($this, $method); }
/** * Get the Perimeter Points that define this region * * @return LatLong[] Array of Latitude/Longitude objects that define the perimeter of this region */ public function getPerimeterPoints() { return parent::getNodePoints(); }