public class SpaceTimeRegion extends Object
Copyright (c) 2013-2016 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,
org.djunits.value.vdouble.scalar.Length startPosition,
org.djunits.value.vdouble.scalar.Length endPosition,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.djunits.value.vdouble.scalar.Length |
getEndPosition() |
org.djunits.value.vdouble.scalar.Time |
getEndTime() |
KpiLaneDirection |
getLaneDirection() |
org.djunits.value.vdouble.scalar.Length |
getStartPosition() |
org.djunits.value.vdouble.scalar.Time |
getStartTime() |
int |
hashCode() |
String |
toString() |
SpaceTimeRegion(KpiLaneDirection laneDirection, org.djunits.value.vdouble.scalar.Length startPosition, org.djunits.value.vdouble.scalar.Length endPosition, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.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 org.djunits.value.vdouble.scalar.Length getStartPosition()
public final org.djunits.value.vdouble.scalar.Length getEndPosition()
public final org.djunits.value.vdouble.scalar.Time getStartTime()
public final org.djunits.value.vdouble.scalar.Time getEndTime()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.