pub fn total_length<const D: usize>(line: &[Point<Precision, D>]) -> Precision
Find the total length of a linestring.