Skip to content
Snippets Groups Projects
Commit 13399c9a authored by Tom Fischer's avatar Tom Fischer
Browse files

[MeL] Using other constructor.

parent b01c918e
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ bool convertMeshToGeo(const MeshLib::Mesh &mesh, GeoLib::GEOObjects &geo_objects ...@@ -41,7 +41,7 @@ bool convertMeshToGeo(const MeshLib::Mesh &mesh, GeoLib::GEOObjects &geo_objects
const std::vector<MeshLib::Node*> &nodes = mesh.getNodes(); const std::vector<MeshLib::Node*> &nodes = mesh.getNodes();
for (unsigned i=0; i<nNodes; ++i) for (unsigned i=0; i<nNodes; ++i)
(*points)[i] = new GeoLib::Point(static_cast<GeoLib::Point>(*nodes[i])); (*points)[i] = new GeoLib::Point(nodes[i]->getCoords());
std::string mesh_name (mesh.getName()); std::string mesh_name (mesh.getName());
geo_objects.addPointVec(points, mesh_name, nullptr, eps); geo_objects.addPointVec(points, mesh_name, nullptr, eps);
......
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