Skip to main content

canonical_start

Function canonical_start 

Source
pub fn canonical_start(points: &[Point2]) -> usize
Expand description

Index at which a ring starts to be canonical: at its lexicographically smallest point; of several equal smallest points the rotation that orders lowest wins.