Skip to content
Snippets Groups Projects
Commit dd49b64a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MGTL] Fix comment and variable name.

parent 0dbd1c2a
No related branches found
No related tags found
No related merge requests found
...@@ -137,12 +137,12 @@ MeshNodesAlongSurface& MeshNodeSearcher::getMeshNodesAlongSurface( ...@@ -137,12 +137,12 @@ MeshNodesAlongSurface& MeshNodeSearcher::getMeshNodesAlongSurface(
std::vector<MeshNodesAlongSurface*>::const_iterator it(_mesh_nodes_along_surfaces.begin()); std::vector<MeshNodesAlongSurface*>::const_iterator it(_mesh_nodes_along_surfaces.begin());
for (; it != _mesh_nodes_along_surfaces.end(); ++it) { for (; it != _mesh_nodes_along_surfaces.end(); ++it) {
if (&(*it)->getSurface() == &sfc) { if (&(*it)->getSurface() == &sfc) {
// we calculated mesh nodes for this polyline already // we calculated mesh nodes on this surface already
return *(*it); return *(*it);
} }
} }
// compute nodes (and supporting points) along polyline // compute nodes (and supporting points) on surface
_mesh_nodes_along_surfaces.push_back( _mesh_nodes_along_surfaces.push_back(
new MeshNodesAlongSurface(_mesh, new MeshNodesAlongSurface(_mesh,
sfc, sfc,
......
...@@ -39,14 +39,15 @@ public: ...@@ -39,14 +39,15 @@ public:
* GeoLib::Surface object within a given search radius. * GeoLib::Surface object within a given search radius.
* @param mesh Mesh the search will be performed on. * @param mesh Mesh the search will be performed on.
* @param sfc Along the GeoLib::Surface sfc the mesh nodes are searched. * @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 * between a mesh node and the surface smaller than that value it is a mesh
* node near the surface. * node near the surface.
* @param search_all_nodes switch between searching all mesh nodes and * @param search_all_nodes switch between searching all mesh nodes and
* searching the base nodes. * searching the base nodes.
*/ */
MeshNodesAlongSurface(MeshLib::Mesh const& mesh, GeoLib::Surface const& sfc, 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 /// return the mesh object
MeshLib::Mesh const& getMesh() const; MeshLib::Mesh const& getMesh() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment