public class SpaceTimeRegion extends Object
Copyright (c) 2013-2019 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
- KpiLaneDirection; lane directionstartPosition
- Length; start positionendPosition
- Length; end positionstartTime
- Time; start timeendTime
- Time; 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–2019 Delft University of Technology. All rights reserved.