functional_xDistanceNearestPoint
Wrong test as it produce computer/compiler reference dependency.
The lines:
// (3-2-5)
double radius_factor = 3.;
std::map<AOMD::mVertex*, double> nearest_vertices_distances_ANN_5;
distance_nearest_point_ANN.nearestVerticesInsideRadiusDistances(point, radius_factor, nearest_vertices_distances_ANN_5);
.
.
.
filestr << "(3-2-5) " << std::endl;
for (std::map<AOMD::mVertex*, double>::const_iterator it=nearest_vertices_distances_ANN_5.begin(); it!=nearest_vertices_distances_ANN_5.end(); ++it)
{
Trellis_Util::mPoint point_tmp = (it->first)->point();
filestr << " " << it->second << " | " << point_tmp(0) << " , " << point_tmp(1) << " , " << point_tmp(2) << std::endl;
}
with clang for example do give the same information as g++ but not in the same order as map order is address dependent. To modify by following increasing distance value order for example.