From 02af010b3ec73c1403e7ebca539e50301f2a1afb Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Tue, 26 Feb 2013 14:59:57 +0100
Subject: [PATCH] Add static const Point ORIGIN in GeoLib.

---
 GeoLib/Point.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/GeoLib/Point.h b/GeoLib/Point.h
index 47fce4f94a9..91e9b1d0350 100644
--- a/GeoLib/Point.h
+++ b/GeoLib/Point.h
@@ -48,6 +48,8 @@ public:
 
 typedef GeoLib::GeoPoint<double> Point;
 
+static const Point ORIGIN(0, 0, 0);
+
 /**
  * lexicographic comparison of points
  */
@@ -58,7 +60,7 @@ bool operator<= (GeoLib::Point const & p0, GeoLib::Point const & p1);
  * @param p0 first input Point
  * @param p1 first input Point
  * @param tol tolerance (if in the comparison operation the property fabs(p0[k] - p1[k]) < tol
- * 	holds for the k-th coordinate the points are assumed the be equal in this coordinate)
+ *     holds for the k-th coordinate the points are assumed the be equal in this coordinate)
  * @return true, if p0 is lexicographically smaller than p1
  */
 bool lessEq(const GeoLib::Point& p0,
-- 
GitLab