Function rgeometry::source · [−]
algorithms:: polygonization:: two_opt_moves
pub fn two_opt_moves<T, R>(
rng: &mut R
) -> Result<Polygon<T>, Error> where
R: Rng + ?Sized,
Generate a valid polygon by connecting a set of points in such a way that there are no self-intersections.