Class AnimationLaneData
java.lang.Object
org.opentrafficsim.animation.data.AnimationCrossSectionElementData<Lane>
org.opentrafficsim.animation.data.AnimationLaneData
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.Locatable
,org.djutils.base.Identifiable
,org.opentrafficsim.base.geometry.OtsLocatable
,org.opentrafficsim.base.geometry.SpatialObject
,ClickableLocatable
,CrossSectionElementAnimation.CrossSectionElementData
,LaneAnimation.LaneData
public class AnimationLaneData
extends AnimationCrossSectionElementData<Lane>
implements LaneAnimation.LaneData
Animation data of a Lane.
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
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.animation.data.AnimationCrossSectionElementData
getContour, getElement, getLocation, getShape
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.draw.ClickableLocatable
getBounds
Methods inherited from interface org.opentrafficsim.draw.road.LaneAnimation.LaneData
getZ
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation, getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Constructor Details
-
AnimationLaneData
Constructor.- Parameters:
lane
- lane.
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.djutils.base.Identifiable
-
getCenterLine
public org.djutils.draw.line.PolyLine2d getCenterLine()- Specified by:
getCenterLine
in interfaceCrossSectionElementAnimation.CrossSectionElementData
- Overrides:
getCenterLine
in classAnimationCrossSectionElementData<Lane>
-
getLinkId
- Specified by:
getLinkId
in interfaceCrossSectionElementAnimation.CrossSectionElementData
- Overrides:
getLinkId
in classAnimationCrossSectionElementData<Lane>
-
toString
- Overrides:
toString
in classAnimationCrossSectionElementData<Lane>
-