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

[MGTL] Using Point instead of PointWithID.

parent aa87d3c9
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "logog/include/logog.hpp" #include "logog/include/logog.hpp"
// GeoLib // GeoLib
#include "GeoLib/PointWithID.h" #include "GeoLib/Point.h"
// MeshLib // MeshLib
#include "MeshLib/Elements/Element.h" #include "MeshLib/Elements/Element.h"
...@@ -57,7 +57,7 @@ std::vector<std::size_t> MeshNodeSearcher::getMeshNodeIDs(GeoLib::GeoObject cons ...@@ -57,7 +57,7 @@ std::vector<std::size_t> MeshNodeSearcher::getMeshNodeIDs(GeoLib::GeoObject cons
switch (geoObj.getGeoType()) { switch (geoObj.getGeoType()) {
case GeoLib::GEOTYPE::POINT: case GeoLib::GEOTYPE::POINT:
{ {
boost::optional<std::size_t> node_id = this->getMeshNodeIDForPoint(*static_cast<const GeoLib::PointWithID*>(&geoObj)); boost::optional<std::size_t> node_id = this->getMeshNodeIDForPoint(*static_cast<const GeoLib::Point*>(&geoObj));
if (node_id) vec_nodes.push_back(*node_id); if (node_id) vec_nodes.push_back(*node_id);
break; break;
} }
......
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