public class RoundaboutInstruction extends Instruction
annotation, CONTINUE_ON_STREET, distance, extraInfo, FINISH, IGNORE, KEEP_LEFT, KEEP_RIGHT, LEAVE_ROUNDABOUT, name, points, PT_END_TRIP, PT_START_TRIP, PT_TRANSFER, rawName, REACHED_VIA, sign, time, TURN_LEFT, TURN_RIGHT, TURN_SHARP_LEFT, TURN_SHARP_RIGHT, TURN_SLIGHT_LEFT, TURN_SLIGHT_RIGHT, U_TURN_LEFT, U_TURN_RIGHT, U_TURN_UNKNOWN, UNKNOWN, USE_ROUNDABOUT| Constructor and Description |
|---|
RoundaboutInstruction(int sign,
String name,
InstructionAnnotation ia,
PointList pl) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExitNumber() |
Map<String,Object> |
getExtraInfoJSON() |
double |
getTurnAngle() |
String |
getTurnDescription(Translation tr) |
RoundaboutInstruction |
increaseExitNumber() |
boolean |
isExited() |
RoundaboutInstruction |
setDirOfRotation(double deltaIn) |
RoundaboutInstruction |
setExited() |
RoundaboutInstruction |
setExitNumber(int exitNumber) |
RoundaboutInstruction |
setRadian(double radian)
The radian value between entrance (in) and exit (out) of this roundabout.
|
calcAzimuth, calcDirection, getAnnotation, getDistance, getLength, getName, getPoints, getSign, getTime, setDistance, setExtraInfo, setName, setPoints, setSign, setTime, setUseRawName, toStringpublic RoundaboutInstruction(int sign,
String name,
InstructionAnnotation ia,
PointList pl)
public RoundaboutInstruction increaseExitNumber()
public RoundaboutInstruction setDirOfRotation(double deltaIn)
public RoundaboutInstruction setExited()
public boolean isExited()
public int getExitNumber()
public RoundaboutInstruction setExitNumber(int exitNumber)
public double getTurnAngle()
public RoundaboutInstruction setRadian(double radian)
public Map<String,Object> getExtraInfoJSON()
getExtraInfoJSON in class Instructionpublic String getTurnDescription(Translation tr)
getTurnDescription in class InstructionCopyright © 2012–2020. All rights reserved.