From 6ac61fc47743873f63f3f1c5827e7cd3dc1d812d Mon Sep 17 00:00:00 2001 From: Patrick Hayes Date: Mon, 27 Aug 2012 10:51:05 -0700 Subject: [PATCH] Adding greatCircleLength and haversineLength to abstract class --- lib/geometry/Geometry.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/geometry/Geometry.class.php b/lib/geometry/Geometry.class.php index df03debd..8807841f 100644 --- a/lib/geometry/Geometry.class.php +++ b/lib/geometry/Geometry.class.php @@ -39,6 +39,8 @@ abstract public function getBBox(); abstract public function asArray(); abstract public function getPoints(); abstract public function explode(); + abstract public function greatCircleLength(); //meters + abstract public function haversineLength(); //degrees // Public: Standard -- Common to all geometries