diff --git a/MathLib/Point3d.cpp b/MathLib/Point3d.cpp new file mode 100644 index 0000000000000000000000000000000000000000..f48d71324b633fb550aee60b59614aebd70a6b19 --- /dev/null +++ b/MathLib/Point3d.cpp @@ -0,0 +1,17 @@ +/** + * \file + * + * \copyright + * Copyright (c) 2012-2016, 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 "Point3d.h" + +namespace MathLib +{ +extern const Point3d ORIGIN{ {{0.0, 0.0, 0.0}} }; +} diff --git a/MathLib/Point3d.h b/MathLib/Point3d.h index 5d19c81b771a767a6c6656b1826ad7e61607d31e..e4797cc3786212d2eaa9860a44d1e07bd6fa429a 100644 --- a/MathLib/Point3d.h +++ b/MathLib/Point3d.h @@ -23,6 +23,7 @@ namespace MathLib { typedef MathLib::TemplatePoint<double,3> Point3d; +extern const Point3d ORIGIN; /** * rotation of points * @param mat a rotation matrix