pub fn all_self_intersects_as_basic<P, T>(
    polyline: &P,
    aabb_index: &StaticAABB2DIndex<T>,
    include_overlapping: bool,
    pos_equal_eps: T
) -> Vec<PlineBasicIntersect<T>>
where P: PlineSource<Num = T> + ?Sized, T: Real,
Expand description

Find all self intersects of a polyline. If include_overlapping is true then overlapping intersects are returned as two basic intersects, one at each end of the overlap. If include_overlapping is false then overlapping intersects are not returned.