Skip to main content

is_simple

Function is_simple 

Source
pub fn is_simple<G: IsSimple>(g: &G) -> bool
Expand description

true iff g satisfies the OGC “is simple” predicate.

Mirrors boost::geometry::is_simple from boost/geometry/algorithms/is_simple.hpp. Dispatch happens through the [IsSimple] trait so linestrings and polygons share one entry point.