diff --git a/MeshGeoToolsLib/MeshNodeSearcher.cpp b/MeshGeoToolsLib/MeshNodeSearcher.cpp index c491b2411fd95bbe3e61a1f4bce451f60e5fc332..fc19986e196685be6153ee6a05ef6cee49144eb6 100644 --- a/MeshGeoToolsLib/MeshNodeSearcher.cpp +++ b/MeshGeoToolsLib/MeshNodeSearcher.cpp @@ -137,12 +137,12 @@ MeshNodesAlongSurface& MeshNodeSearcher::getMeshNodesAlongSurface( std::vector<MeshNodesAlongSurface*>::const_iterator it(_mesh_nodes_along_surfaces.begin()); for (; it != _mesh_nodes_along_surfaces.end(); ++it) { if (&(*it)->getSurface() == &sfc) { - // we calculated mesh nodes for this polyline already + // we calculated mesh nodes on this surface already return *(*it); } } - // compute nodes (and supporting points) along polyline + // compute nodes (and supporting points) on surface _mesh_nodes_along_surfaces.push_back( new MeshNodesAlongSurface(_mesh, sfc, diff --git a/MeshGeoToolsLib/MeshNodesAlongSurface.h b/MeshGeoToolsLib/MeshNodesAlongSurface.h index ff09cfd099c99c795f118d92d30929c68945bff7..16b903f2683fc67a8544cea02fa6728408ac12a3 100644 --- a/MeshGeoToolsLib/MeshNodesAlongSurface.h +++ b/MeshGeoToolsLib/MeshNodesAlongSurface.h @@ -39,14 +39,15 @@ public: * GeoLib::Surface object within a given search radius. * @param mesh Mesh the search will be performed on. * @param sfc Along the GeoLib::Surface sfc the mesh nodes are searched. - * @param epsilon Euclidean distance tolerance value. Is the distance + * @param epsilon_radius Euclidean distance tolerance value. Is the distance * between a mesh node and the surface smaller than that value it is a mesh * node near the surface. * @param search_all_nodes switch between searching all mesh nodes and * searching the base nodes. */ MeshNodesAlongSurface(MeshLib::Mesh const& mesh, GeoLib::Surface const& sfc, - double epsilon, SearchAllNodes search_all_nodes); + double epsilon_radius, + SearchAllNodes search_all_nodes); /// return the mesh object MeshLib::Mesh const& getMesh() const;