com.vividsolutions.jts.index.sweepline
Class SweepLineEvent
java.lang.Object
com.vividsolutions.jts.index.sweepline.SweepLineEvent
- Comparable
public class SweepLineEvent
extends java.lang.Object
implements Comparable
DELETE
public static final int DELETE
INSERT
public static final int INSERT
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.
getDeleteEventIndex
public int getDeleteEventIndex()
isDelete
public boolean isDelete()
isInsert
public boolean isInsert()
setDeleteEventIndex
public void setDeleteEventIndex(int deleteEventIndex)