calculate method

SegmentList calculate({
  1. bool inverted = false,
})

Implementation

SegmentList calculate({bool inverted = false}) {
  if (!selfIntersection) {
    throw new Exception(
        "This function is only intended to be called when selfIntersection = true");
  }

  return calculate_INTERNAL(inverted, false);
}