Skip to main content

num_segments

Function num_segments 

Source
pub fn num_segments<G: NumSegments>(g: &G) -> usize
Expand description

Total number of segments (edges) in g.

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