public static class IARoute.Point
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<IARoute.Point> |
CREATOR |
Constructor and Description |
---|
Point(double latitude,
double longitude,
int floorLevel,
int id)
Constructor
|
Point(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
getFloor()
Get the floor number of the
IARoute.Point |
double |
getLatitude()
Get the latitude of the
IARoute.Point . |
double |
getLongitude()
Get the longitude of the
IARoute.Point |
java.lang.Integer |
getNodeIndex()
Get the index of the
IARoute.Point . |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel parcel,
int i) |
public static final android.os.Parcelable.Creator<IARoute.Point> CREATOR
public Point(double latitude, double longitude, int floorLevel, int id)
public Point(android.os.Parcel in)
public double getLatitude()
IARoute.Point
.public double getLongitude()
IARoute.Point
public int getFloor()
IARoute.Point
public java.lang.Integer getNodeIndex()
IARoute.Point
. This is the zero-based index
of the node in the original JSON graph this IARoute.Point
corresponds to. If this is a virtual wayfinding node, e.g., a starting
point of the route outside the original graph, this method returns null.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int i)
writeToParcel
in interface android.os.Parcelable