Overview | Package | Class | Tree | Deprecated | Index | Help
| JTS Topology Suite - v 1.12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.vividsolutions.jts.geomgraph.index
Class SweepLineEvent

    java.lang.Object
      com.vividsolutions.jts.geomgraph.index.SweepLineEvent

All Implemented Interfaces:
  java.lang.Comparable

    public class SweepLineEvent

extends java.lang.Object
implements java.lang.Comparable

Version:
  1.7

Field Summary
`static int` | `DELETE`
`static int` | `INSERT`

Constructor Summary
`SweepLineEvent(java.lang.Object edgeSet, double x, SweepLineEvent insertEvent, java.lang.Object obj)`

Method Summary
`int` | `compareTo(java.lang.Object o)` ProjectionEvents are ordered first by their x-value, and then by their eventType.
`int` | `getDeleteEventIndex()`
`SweepLineEvent` | `getInsertEvent()`
`java.lang.Object` | `getObject()`
`boolean` | `isDelete()`
`boolean` | `isInsert()`
`void` | `setDeleteEventIndex(int deleteEventIndex)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### INSERT

    public static final int INSERT

See Also:
  Constant Field Values

### DELETE

    public static final int DELETE

See Also:
  Constant Field Values

Constructor Detail

### SweepLineEvent

    public SweepLineEvent(java.lang.Object edgeSet,
                          double x,
                          SweepLineEvent insertEvent,
                          java.lang.Object obj)

Method Detail

### isInsert

    public boolean isInsert()

### isDelete

    public boolean isDelete()

### getInsertEvent

    public SweepLineEvent getInsertEvent()

### getDeleteEventIndex

    public int getDeleteEventIndex()

### setDeleteEventIndex

    public void setDeleteEventIndex(int deleteEventIndex)

### getObject

    public java.lang.Object getObject()

### compareTo

    public int compareTo(java.lang.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 `java.lang.Comparable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| JTS Topology Suite - v 1.12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD