public class Lane
Represents single lane instance.
Constructor and Description |
---|
Lane(long peer,
LaneDirection direction,
LaneEdge leftEdge,
LaneEdge rightEdge)
Represents single lane instance.
|
Modifier and Type | Method and Description |
---|---|
LaneDirection |
component2() |
LaneEdge |
component3() |
LaneEdge |
component4() |
boolean |
contains(WorldCoordinate worldCoordinate)
Checks if the lane contains specific world coordinate.
|
Lane |
copy(long peer,
LaneDirection direction,
LaneEdge leftEdge,
LaneEdge rightEdge)
Represents single lane instance.
|
boolean |
equals(java.lang.Object p) |
void |
finalize() |
LaneDirection |
getDirection() |
LaneEdge |
getLeftEdge() |
LaneEdge |
getRightEdge() |
int |
hashCode() |
java.lang.String |
toString() |
public Lane(long peer, LaneDirection direction, LaneEdge leftEdge, LaneEdge rightEdge)
Represents single lane instance.
public void finalize()
public boolean contains(WorldCoordinate worldCoordinate)
Checks if the lane contains specific world coordinate.
public LaneDirection getDirection()
public LaneEdge getLeftEdge()
public LaneEdge getRightEdge()
public LaneDirection component2()
public LaneEdge component3()
public LaneEdge component4()
public Lane copy(long peer, LaneDirection direction, LaneEdge leftEdge, LaneEdge rightEdge)
Represents single lane instance.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)