Problem Image: http://imgur.com/Bfe978i
For some reason when I try to mesh these points, the meshing API is connecting one side to the other instead of connecting to the nearest vertex. The points are all laid out at approx 5 foot intervals.
I have tried all sorts of values for the expansionFraction, I have also tried the basic mdlMesh_newPolyfaceFromXYTriangulation call, same results.
MSElementDescrP mesh = NULL;
if(meshPoints.size() >= 3){
if (SUCCESS != mdlMesh_newPolyfaceFromExpandedXYTriangulation(&mesh, &meshPoints.at(0), meshPoints.size(), 0.1, true)) { return; }
}
Any ideas?