Function lyon_algorithms::area::approximate_sub_path_signed_area
source · pub fn approximate_sub_path_signed_area<Iter>(
tolerance: f32,
path: &mut Iter
) -> Option<f32>Expand description
Compute the signed area of the next sub-path.
The iterator is advanced so that approximate_sub_path_signed_area can be called multiple times
to process the successive sub-paths of a path.
Returns None if there is no more sub-path or if the the iterator is malformed.