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 int compareTo(Object o)
compareTo in interface Comparablepublic int getDeleteEventIndex()
public SweepLineEvent getInsertEvent()
public boolean isDelete()
public boolean isInsert()
public void setDeleteEventIndex(int deleteEventIndex)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.