public class SweepLineEvent extends Object implements Comparable
| Constructor and Description |
|---|
SweepLineEvent(double x,
SweepLineEvent insertEvent,
SweepLineInterval sweepInt) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
ProjectionEvents are ordered first by their x-value, and then by their eventType.
|
int |
getDeleteEventIndex() |
SweepLineEvent |
getInsertEvent() |
boolean |
isDelete() |
boolean |
isInsert() |
void |
setDeleteEventIndex(int deleteEventIndex) |
public static final int INSERT
public static final int DELETE
public SweepLineEvent(double x,
SweepLineEvent insertEvent,
SweepLineInterval sweepInt)
public boolean isInsert()
public boolean isDelete()
public SweepLineEvent getInsertEvent()
public int getDeleteEventIndex()
public void setDeleteEventIndex(int deleteEventIndex)
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2024. All rights reserved.