public class SpaceTimeRegion extends Object
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
SpaceTimeRegion(KpiLaneDirection laneDirection,
Length startPosition,
Length endPosition,
Time startTime,
Time endTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Length |
getEndPosition() |
Time |
getEndTime() |
KpiLaneDirection |
getLaneDirection() |
Length |
getStartPosition() |
Time |
getStartTime() |
int |
hashCode() |
String |
toString() |
public SpaceTimeRegion(KpiLaneDirection laneDirection, Length startPosition, Length endPosition, Time startTime, Time endTime)
laneDirection
- lane directionstartPosition
- start positionendPosition
- end positionstartTime
- start timeendTime
- end timeIllegalArgumentException
- if start time is larger than end timepublic final KpiLaneDirection getLaneDirection()
public final Length getStartPosition()
public final Length getEndPosition()
public final Time getStartTime()
public final Time getEndTime()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.