Function cdt::triangulate_with_edges[][src]

pub fn triangulate_with_edges<'a, E>(
    pts: &[(f64, f64)],
    edges: E
) -> Result<Vec<(usize, usize, usize)>, Error> where
    E: IntoIterator<Item = &'a (usize, usize)> + Copy + Clone
Expand description

Triangulates a set of points with certain fixed edges. The edges are assumed to form closed boundaries; only triangles within those boundaries will be returned.