public class RoutePoint
Single point of a route.
Constructor and Description |
---|
RoutePoint(com.mapbox.vision.mobile.core.models.position.GeoCoordinate coordinate,
ManeuverType maneuverType)
Single point of a route.
|
Modifier and Type | Method and Description |
---|---|
com.mapbox.vision.mobile.core.models.position.GeoCoordinate |
component1()
Geographical coordinate of the point along the route
|
ManeuverType |
component2()
|
RoutePoint |
copy(com.mapbox.vision.mobile.core.models.position.GeoCoordinate coordinate,
ManeuverType maneuverType)
Single point of a route.
|
boolean |
equals(java.lang.Object p) |
com.mapbox.vision.mobile.core.models.position.GeoCoordinate |
getCoordinate()
Geographical coordinate of the point along the route
|
ManeuverType |
getManeuverType()
|
int |
hashCode() |
java.lang.String |
toString() |
public RoutePoint(com.mapbox.vision.mobile.core.models.position.GeoCoordinate coordinate, ManeuverType maneuverType)
Single point of a route.
coordinate
- Geographical coordinate of the point along the routemaneuverType
- enum ManeuverType
to perform, if no maneuverType is specified None value is usedcoordinate
- Geographical coordinate of the point along the routemaneuverType
- enum ManeuverType
to perform, if no maneuverType is specified None value is usedpublic com.mapbox.vision.mobile.core.models.position.GeoCoordinate getCoordinate()
Geographical coordinate of the point along the route
public ManeuverType getManeuverType()
to perform, if no maneuverType is specified None value is used
enum ManeuverType
public com.mapbox.vision.mobile.core.models.position.GeoCoordinate component1()
Geographical coordinate of the point along the route
public ManeuverType component2()
to perform, if no maneuverType is specified None value is used
enum ManeuverType
public RoutePoint copy(com.mapbox.vision.mobile.core.models.position.GeoCoordinate coordinate, ManeuverType maneuverType)
Single point of a route.
coordinate
- Geographical coordinate of the point along the routemaneuverType
- enum ManeuverType
to perform, if no maneuverType is specified None value is usedpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)