Skip to main content

is_empty

Function is_empty 

Source
pub fn is_empty<G>(g: &G) -> bool
where G: Geometry, G::Kind: NumPointsStrategyForKind, <G::Kind as NumPointsStrategyForKind>::S: NumPointsStrategy<G>,
Expand description

True iff g has no points.

Mirrors boost::geometry::is_empty(g) from boost/geometry/algorithms/is_empty.hpp.