com.supermap.onlineservices
类 LineItem
- java.lang.Object
-
- com.supermap.onlineservices.LineItem
-
public class LineItem extends java.lang.Object换乘分段类。
-
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 doublegetDistance()获取当前分段距离。Point2DgetDownLocation()获取当前分段终点公交(地铁)站经纬度坐标。intgetEndStopIndex()获取下车站相较全程的索引。java.lang.StringgetEndStopName()获取当前分段终点公交(地铁)站名称java.lang.StringgetLineDirection()获取分段线路的方向。java.lang.StringgetLineName()获取当前分段乘坐的公交(地铁)线路名称。java.lang.StringgetLineTime()获取当前公交(或地铁)的早晚运营时间。java.lang.StringgetLineType()获取当前线路类型。intgetPassStopCount()获取总经历的站总数。intgetStartStopIndex()获取上车站相较全程的索引。java.lang.StringgetStartStopName()获取当前分段起始公交(地铁)站名称。Point2DgetUpLocation()获取去当前分段起始公交(地铁)站经纬度坐标。doublegetWalkDistance()获取从起始点到公交(地铁)起点的步行距离。
-
-
-
构造器详细资料
-
LineItem
public LineItem()
默认构造函数,构造一个新的LineItem对象。
-
-
方法详细资料
-
getLineDirection
public java.lang.String getLineDirection()
获取分段线路的方向。- 返回:
- 返回路线方向描述。
-
getDistance
public double getDistance()
获取当前分段距离。- 返回:
- 分段距离。
-
getDownLocation
public Point2D getDownLocation()
获取当前分段终点公交(地铁)站经纬度坐标。- 返回:
- 下车站点坐标点。
-
getEndStopIndex
public int getEndStopIndex()
获取下车站相较全程的索引。- 返回:
- 下车站点索引。
-
getEndStopName
public java.lang.String getEndStopName()
获取当前分段终点公交(地铁)站名称- 返回:
- 终点站名称
-
getLineName
public java.lang.String getLineName()
获取当前分段乘坐的公交(地铁)线路名称。- 返回:
- 分段线路名称。
-
getLineTime
public java.lang.String getLineTime()
获取当前公交(或地铁)的早晚运营时间。- 返回:
- 公交运营时间。
-
getLineType
public java.lang.String getLineType()
获取当前线路类型。- 返回:
- 线路类型。
-
getPassStopCount
public int getPassStopCount()
获取总经历的站总数。- 返回:
- 站点总数。
-
getStartStopIndex
public int getStartStopIndex()
获取上车站相较全程的索引。- 返回:
- 起点站索引。
-
getStartStopName
public java.lang.String getStartStopName()
获取当前分段起始公交(地铁)站名称。- 返回:
- 起点站名称。
-
getUpLocation
public Point2D getUpLocation()
获取去当前分段起始公交(地铁)站经纬度坐标。- 返回:
- 起点站坐标。
-
getWalkDistance
public double getWalkDistance()
获取从起始点到公交(地铁)起点的步行距离。- 返回:
- 起始点到(地铁)起点的步行距离。
-
-