[][src]Module geo::algorithm::is_convex

Determins whether a LineString is convex.

Traits

IsConvex

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.