public class DeJRMRoute
extends java.lang.Object
Constructor and Description |
---|
DeJRMRoute(java.lang.String routeId,
java.util.List<DeJRMBlock> blocks,
double routeOffsetDistance,
boolean routeDownOnGraph) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesServiceOperateOnRoute(DeJRMServiceTimetable service)
Does the specified service interact with this route at any point?
|
java.util.List<DeJRMBlock> |
getBlocks() |
double |
getEndDistanceForTDS(java.lang.String tds) |
java.lang.String |
getRouteId() |
double |
getRouteLength() |
double |
getStartDistanceForTDS(java.lang.String tds) |
boolean |
isServiceOnRoute(DeJRMServiceTimetable service)
Does the specified service operate entirely on this route?
|
public DeJRMRoute(java.lang.String routeId, java.util.List<DeJRMBlock> blocks, double routeOffsetDistance, boolean routeDownOnGraph)
public java.lang.String getRouteId()
public java.util.List<DeJRMBlock> getBlocks()
public boolean doesServiceOperateOnRoute(DeJRMServiceTimetable service)
service
- public boolean isServiceOnRoute(DeJRMServiceTimetable service)
service
- public double getRouteLength()
public double getStartDistanceForTDS(java.lang.String tds)
public double getEndDistanceForTDS(java.lang.String tds)