public class SdEvent extends java.lang.Object implements java.lang.Comparable<SdEvent>
Modifier and Type | Field and Description |
---|---|
static int |
EVT_BIKEWAY |
static int |
EVT_CROSSING |
static int |
EVT_ENTRY |
static int |
EVT_EXIT |
static int |
EVT_FOOTWAY |
static int |
EVT_INTUITIVE |
static int |
EVT_LINK |
static int |
EVT_MOTORWAY |
static int |
EVT_NAMECHANGE |
static int |
EVT_ROUNDABOUT |
static int |
EVT_SOURCE |
static int |
EVT_TARGET |
static int |
EVT_UNKNOWN |
static int |
EVT_VEHICLEWAY |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SdEvent that) |
static SdEvent[] |
create(SdGraph sdGraph,
SdPath sdPath,
boolean checkRestrictions,
boolean carMode)
Creates a list of basic events for a given path ordered by meter stone.
|
int |
getAngle() |
int |
getCounter() |
int |
getForecastIdx() |
int |
getMeter() |
java.lang.String |
getStreet() |
int |
getType() |
void |
resetForecastIdx() |
void |
setCounter(int counter) |
void |
setForecastIdx(int idx) |
java.lang.String |
toString() |
public static final int EVT_UNKNOWN
public static final int EVT_VEHICLEWAY
public static final int EVT_BIKEWAY
public static final int EVT_FOOTWAY
public static final int EVT_MOTORWAY
public static final int EVT_LINK
public static final int EVT_ROUNDABOUT
public static final int EVT_NAMECHANGE
public static final int EVT_CROSSING
public static final int EVT_INTUITIVE
public static final int EVT_ENTRY
public static final int EVT_EXIT
public static final int EVT_SOURCE
public static final int EVT_TARGET
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getStreet()
public int getType()
public int getMeter()
public int getAngle()
public int getCounter()
public void setCounter(int counter)
public void setForecastIdx(int idx)
public int getForecastIdx()
public void resetForecastIdx()
public static SdEvent[] create(SdGraph sdGraph, SdPath sdPath, boolean checkRestrictions, boolean carMode)