Class SweepLineEvent

java.lang.Object
org.locationtech.jts.index.sweepline.SweepLineEvent
All Implemented Interfaces:
Comparable

public class SweepLineEvent extends Object implements Comparable
Version:
1.7
  • Field Details

  • Constructor Details

  • Method Details

    • isInsert

      public boolean isInsert()
    • isDelete

      public boolean isDelete()
    • getInsertEvent

      public SweepLineEvent getInsertEvent()
    • getDeleteEventIndex

      public int getDeleteEventIndex()
    • setDeleteEventIndex

      public void setDeleteEventIndex(int deleteEventIndex)
    • compareTo

      public int compareTo(Object o)
      ProjectionEvents are ordered first by their x-value, and then by their eventType. It is important that Insert events are sorted before Delete events, so that items whose Insert and Delete events occur at the same x-value will be correctly handled.
      Specified by:
      compareTo in interface Comparable