fesoliveira014 / voronator-rs

Delaunay triangulation and Voronoi diagram generation. Ported from Mapbox's Delaunator and d3-voronoi
MIT License
54 stars 13 forks source link

Use `impl IntoIter<Item=T>` instead of slices for arguments when possible #4

Open fesoliveira014 opened 4 years ago

fesoliveira014 commented 4 years ago

Example: triangulate_from_arr or to_points. This way, the caller can choose how to feed data into the triangulation, often saving an extra allocation. The IntoIter doc has an example of this.