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

[MeL] Using new interface of MinimalBoundingSphere.

Since MinimalBoundingSphere uses MathLib::Point instead of GeoLib::Point.
parent 17910706
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ void RadiusEdgeRatioMetric::calculateQuality () ...@@ -32,7 +32,7 @@ void RadiusEdgeRatioMetric::calculateQuality ()
{ {
Element const& elem (*elements[k]); Element const& elem (*elements[k]);
std::size_t const n_nodes (elem.getNBaseNodes()); std::size_t const n_nodes (elem.getNBaseNodes());
std::vector<GeoLib::Point*> pnts(n_nodes); std::vector<MathLib::MathPoint*> pnts(n_nodes);
std::copy_n(elem.getNodes(), n_nodes, pnts.begin()); std::copy_n(elem.getNodes(), n_nodes, pnts.begin());
GeoLib::MinimalBoundingSphere const s(pnts); GeoLib::MinimalBoundingSphere const s(pnts);
double min, max; double min, max;
......
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