diff --git a/GeoLib/Point.cpp b/GeoLib/Point.cpp new file mode 100644 index 0000000000000000000000000000000000000000..5f7b1df171b0d107e07b5d77664e9e2cd4063edb --- /dev/null +++ b/GeoLib/Point.cpp @@ -0,0 +1,17 @@ +/** + * \file + * + * \copyright + * Copyright (c) 2012-2015, OpenGeoSys Community (http://www.opengeosys.org) + * Distributed under a Modified BSD License. + * See accompanying file LICENSE.txt or + * http://www.opengeosys.org/project/license + * + */ + +#include "Point.h" + +namespace GeoLib +{ + const Point ORIGIN(0, 0, 0); +} diff --git a/GeoLib/Point.h b/GeoLib/Point.h index 4b27f267e0dad0f6509c37316f44e312a8c5450c..ad81168d0d50d6be9a9991d7f19e01802f0dfc98 100644 --- a/GeoLib/Point.h +++ b/GeoLib/Point.h @@ -66,7 +66,7 @@ protected: void setID(std::size_t id) { _id = id; } }; -static const Point ORIGIN(0, 0, 0); +extern const Point ORIGIN; } #endif /* POINT_H_ */