SweepLineEvent.withEvent constructor

SweepLineEvent.withEvent(
  1. double xValue,
  2. SweepLineEvent? insertEvent
)

Creates a DELETE event.

@param x the event location @param insertEvent the corresponding INSERT event

Implementation

SweepLineEvent.withEvent(this.xValue, this.insertEvent) {
  eventType = DELETE;
}