Skip to main content

is_clockwise

Function is_clockwise 

Source
pub fn is_clockwise(polygon: &Polygon) -> bool
Expand description

Checks if a polygon is oriented clockwise

§Arguments

  • polygon - Input polygon

§Returns

True if exterior ring is clockwise, false otherwise