sweeplineIntersections function
List<Position>
sweeplineIntersections(
- GeoJSONObject geojson, [
- bool ignoreSelfIntersections = false
Implementation
List<Position> sweeplineIntersections(GeoJSONObject geojson,
[bool ignoreSelfIntersections = false]) {
var eventQueue = SortQueue<Event>();
fillEventQueue(geojson, eventQueue);
return runCheck(eventQueue, ignoreSelfIntersections);
}