Module geo::algorithm::is_convex

source ·
Expand description

Determines whether a LineString is convex.

Traits

  • Predicates to test the convexity of a LineString . A closed LineString is said to be convex if it encloses a convex set. It is said to be strictly convex if in addition, no three consecutive vertices are collinear. It is collinear if all the vertices lie on the same line.