parry
parry copied to clipboard
triangulate_constraints_and_merge_duplicates can panic
triangulate_constraints_and_merge_duplicates uses function bulk_load_cdt that can be panic. https://github.com/dimforge/parry/blob/86404116432cc580eae8a8a47b44ffd146950a2c/src/transformation/mesh_intersection/mesh_intersection.rs#L467 May be it posible to replace it for non-panic wersion try_bulk_load_cdt? Somthing about
let mut conflicting_edges = Vec::new();
let cdt_triangulation =
ConstrainedDelaunayTriangulation::try_bulk_load_cdt(planar_points, edges, |e| {
conflicting_edges.push(e)
})?;