public final class ShapePoint extends IdentityBean<Integer> implements Comparable<ShapePoint>
| Modifier and Type | Field and Description |
|---|---|
static double |
MISSING_VALUE |
| Constructor and Description |
|---|
ShapePoint() |
ShapePoint(ShapePoint shapePoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDistTraveled() |
int |
compareTo(ShapePoint o) |
double |
getDistTraveled() |
Integer |
getId() |
double |
getLat() |
double |
getLon() |
ShapePointProxy |
getProxy() |
int |
getSequence() |
AgencyAndId |
getShapeId() |
boolean |
isDistTraveledSet() |
void |
setDistTraveled(double distTraveled) |
void |
setId(Integer id) |
void |
setLat(double lat) |
void |
setLon(double lon) |
void |
setProxy(ShapePointProxy proxy)
When set, all interactions with the shape point will be redirected through
this proxy.
|
void |
setSequence(int sequence) |
void |
setShapeId(AgencyAndId shapeId) |
String |
toString() |
equals, getExtension, hashCode, putExtensionpublic static final double MISSING_VALUE
public ShapePoint()
public ShapePoint(ShapePoint shapePoint)
public Integer getId()
getId in class IdentityBean<Integer>public void setId(Integer id)
setId in class IdentityBean<Integer>public AgencyAndId getShapeId()
public void setShapeId(AgencyAndId shapeId)
public int getSequence()
public void setSequence(int sequence)
public boolean isDistTraveledSet()
public double getDistTraveled()
isDistTraveledSet()public void setDistTraveled(double distTraveled)
public void clearDistTraveled()
public double getLat()
public void setLat(double lat)
public double getLon()
public void setLon(double lon)
public void setProxy(ShapePointProxy proxy)
proxy - public ShapePointProxy getProxy()
public int compareTo(ShapePoint o)
compareTo in interface Comparable<ShapePoint>Copyright © 2015 OneBusAway. All Rights Reserved.