computeSelfNodes method
Compute self-nodes, taking advantage of the Geometry type to minimize the number of intersection tests. (E.g. rings are not tested for self-intersection, since they are assumed to be valid).
@param li the LineIntersector to use
@param computeRingSelfNodes if false
, intersection checks are optimized to not test rings for self-intersection
@return the computed SegmentIntersector containing information about the intersections found
Implementation
SegmentIntersector computeSelfNodes(
LineIntersector li, bool computeRingSelfNodes) {
return computeSelfNodes3(li, computeRingSelfNodes, false);
}