diff --git a/GeoLib/Point.h b/GeoLib/Point.h index 47fce4f94a9a1504807c276a23ce5afc74429203..91e9b1d035084b75a06da8d9a34d9b7f95d68a02 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,