diff --git a/MathLib/TemplatePoint.h b/MathLib/TemplatePoint.h
index 06730f979cd3364cb41eef629839b710eaab0b37..9ba8953e6382a9d43eeed385010c6e7ab5b2f667 100644
--- a/MathLib/TemplatePoint.h
+++ b/MathLib/TemplatePoint.h
@@ -44,7 +44,6 @@ public:
 	 */
 	explicit TemplatePoint(std::array<T,DIM> const& x);
 
-
 	/** virtual destructor */
 	virtual ~TemplatePoint() {}
 
@@ -74,13 +73,6 @@ public:
 		return _x.data();
 	}
 
-	/** set the coordinates of the point */
-	void setCoords (const T* coords)
-	{
-		for (unsigned i=0; i<DIM; i++)
-			_x[i] = coords[i];
-	}
-
 	/** write point coordinates into stream (used from operator<<)
 	 * \param os a standard output stream
 	 */
diff --git a/MeshLib/ElementCoordinatesMappingLocal.cpp b/MeshLib/ElementCoordinatesMappingLocal.cpp
index 044d7e9ac22333a012a50897bf24e4a3637b831a..cd7c788e996903ad3d7c13400c06ec201392fbb4 100644
--- a/MeshLib/ElementCoordinatesMappingLocal.cpp
+++ b/MeshLib/ElementCoordinatesMappingLocal.cpp
@@ -28,7 +28,7 @@ void rotateToLocal(
     std::vector<MathLib::Point3d> &points)
 {
     for (auto& p : points)
-        p.setCoords((matR2local*p).getCoords());
+        p = matR2local*p;
 }
 
 /// get a rotation matrix to the global coordinates