rgeometry::algorithms::triangulation::earclip

Function triangulate_list

source
pub fn triangulate_list<'a, T, R>(
    points: &'a [Point<T>],
    order: &'a [PointId],
    rng: R,
) -> impl Iterator<Item = (PointId, PointId, PointId)> + 'a
where T: PolygonScalar, R: Rng + 'static,