triangulate_constraints_and_merge_duplicates uses function bulk_load_cdt that can be panic.
|
let cdt_triangulation = ConstrainedDelaunayTriangulation::bulk_load_cdt(planar_points, edges)?; |
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)
})?;
triangulate_constraints_and_merge_duplicates uses function bulk_load_cdt that can be panic.
parry/src/transformation/mesh_intersection/mesh_intersection.rs
Line 467 in 8640411
May be it posible to replace it for non-panic wersion try_bulk_load_cdt? Somthing about