diff --git a/MeshLib/MeshEditing/ProjectPointOnMesh.cpp b/MeshLib/MeshEditing/ProjectPointOnMesh.cpp
index 095bb9d63b48d10510af9b716cd5f9a2fadc1469..3ad783949cbca5b0e4ba014aed7741596160e124 100644
--- a/MeshLib/MeshEditing/ProjectPointOnMesh.cpp
+++ b/MeshLib/MeshEditing/ProjectPointOnMesh.cpp
@@ -19,7 +19,7 @@ namespace MeshLib
 namespace ProjectPointOnMesh
 {
 Element const* getProjectedElement(std::vector<const Element*> const& elements,
-                                   Node const& node)
+                                   MathLib::Point3d const& node)
 {
     auto is_right_of = [&node](Node const& a, Node const& b) {
         return GeoLib::getOrientationFast(node, a, b) ==
@@ -55,7 +55,7 @@ Element const* getProjectedElement(std::vector<const Element*> const& elements,
     return nullptr;
 }
 
-double getElevation(Element const& element, Node const& node)
+double getElevation(Element const& element, MathLib::Point3d const& node)
 {
     Eigen::Vector3d const v =
         node.asEigenVector3d() - element.getNode(0)->asEigenVector3d();
diff --git a/MeshLib/MeshEditing/ProjectPointOnMesh.h b/MeshLib/MeshEditing/ProjectPointOnMesh.h
index a4aec061692c3f73f2cc7a2a42c4ba4b97e87a64..38bf4a6dc99f04250d06fb543c9b83659958885d 100644
--- a/MeshLib/MeshEditing/ProjectPointOnMesh.h
+++ b/MeshLib/MeshEditing/ProjectPointOnMesh.h
@@ -22,11 +22,11 @@ namespace ProjectPointOnMesh
 /// Returns the element in which the given node is located when projected onto a
 /// mesh, or nullptr if no such element was found.
 Element const* getProjectedElement(std::vector<const Element*> const& elements,
-                                   Node const& node);
+                                   MathLib::Point3d const& node);
 
 /// Returns the z-coordinate of a point projected onto the plane defined by a
 /// mesh element.
-double getElevation(Element const& element, Node const& node);
+double getElevation(Element const& element, MathLib::Point3d const& node);
 
 }  // namespace ProjectPointOnMesh