Open thomasaarholt opened 3 years ago
You may want to adjust the flags
passed to build
.
Cross-reference here: https://www.cs.cmu.edu/~quake/triangle.switch.html
In advance, thanks for the great library :)
What I did is... first, set_points() : only 2D points supported second, set_facet() : facets means point index pairs of boundary line segments (instead of Qhull in scipy, you have to specify boundary line by point indices) finally, build() : matplotlib triplot by mesh.points and mesh.elements
Hi! Thanks for writing this package!
I'm wanting to perform Delaunay triangulation on (large, ~10 million) 2D scatter points, for purposes of interpolation of new points. I was intending to benchmark meshpy / triangle's implementation, but I'm not sure how to get it to work!
With Scipy's Delaunay function (based on qhull), one gives it a number of points and it returns (among other things) a list of integers, where each row lists the indices of the three points that are connected to the point associated with the row index (that sentence came out possibly a bit confusing).
But how does one do something similar with meshpy?
I can't seem to get any output when trying the following, and I am not sure how to proceed.