public class MapMatchingTracepoint extends DirectionsWaypoint
DirectionsWaypoint object with two additional fields.| Constructor and Description |
|---|
MapMatchingTracepoint()
Public constructor
|
MapMatchingTracepoint(int matchingsIndex,
int alternativesCount,
int waypointIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlternativesCount()
Number of probable alternative matchings for this trace point.
|
int |
getMatchingsIndex()
Index to the match object in matchings the sub-trace was matched to.
|
int |
getWaypointIndex()
Index of the waypoint inside the matched route.
|
void |
setAlternativesCount(int alternativesCount)
Set the number of probable alternative matchings for this trace point.
|
void |
setMatchingsIndex(int matchingsIndex)
Index value
|
void |
setWaypointIndex(int waypointIndex)
Index value
|
asPosition, getLocation, getName, setLocation, setNamepublic MapMatchingTracepoint()
public MapMatchingTracepoint(int matchingsIndex,
int alternativesCount,
int waypointIndex)
public int getMatchingsIndex()
public void setMatchingsIndex(int matchingsIndex)
matchingsIndex - valuepublic int getWaypointIndex()
public void setWaypointIndex(int waypointIndex)
waypointIndex - valuepublic int getAlternativesCount()
public void setAlternativesCount(int alternativesCount)
alternativesCount - an integer representing the alternatives count