JTS Core 1.17.1
Packages
Classes
Search
About
Top
SweepLineEvent(double, SweepLineEvent, SweepLineInterval)
isInsert(): boolean
isDelete(): boolean
getInsertEvent(): SweepLineEvent
getDeleteEventIndex(): int
setDeleteEventIndex(int): void
compareTo(Object): int
Bottom
Source
Classic
org.locationtech.jts.index.sweepline
Class SweepLineEvent
Hierarchy:
Object
, SweepLineEvent
All Implemented Interfaces:
Comparable
public class SweepLineEvent
implements
Comparable
Other
version: 1.7
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)
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.