Package org.opentrafficsim.draw.road
Interface AbstractLineAnimation.LaneBasedObjectData
- All Superinterfaces:
org.djutils.base.Identifiable
,nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
- All Known Subinterfaces:
BusStopAnimation.BusStopData
,ConflictAnimation.ConflictData
,LaneDetectorAnimation.LaneDetectorData
,LaneDetectorAnimation.LoopDetectorData
,LaneDetectorAnimation.SinkData
,TrafficLightAnimation.TrafficLightData
- Enclosing class:
- AbstractLineAnimation<T extends AbstractLineAnimation.LaneBasedObjectData>
public static interface AbstractLineAnimation.LaneBasedObjectData
extends org.opentrafficsim.base.geometry.OtsLocatable, org.djutils.base.Identifiable
LaneBasedObjectData provides the information required to draw a lane based object.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.Length
Returns the width of the lane.org.djutils.draw.point.OrientedPoint2d
default double
getZ()
Methods inherited from interface org.djutils.base.Identifiable
getId
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getBounds
-
Method Details
-
getLaneWidth
org.djunits.value.vdouble.scalar.Length getLaneWidth()Returns the width of the lane.- Returns:
- Length; width of the lane.
-
getLocation
org.djutils.draw.point.OrientedPoint2d getLocation()- Specified by:
getLocation
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Specified by:
getLocation
in interfaceorg.opentrafficsim.base.geometry.OtsLocatable
-
getZ
- Specified by:
getZ
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Throws:
RemoteException
-