Class AnimationLaneBasedObjectData<T extends LaneBasedObject>
java.lang.Object
org.opentrafficsim.animation.data.AnimationIdentifiableShape<T>
org.opentrafficsim.animation.data.AnimationLaneBasedObjectData<T>
- Type Parameters:
T- lane based object type
- All Implemented Interfaces:
Locatable,Identifiable,OtsShape,LineLocatable,AbstractLineAnimation.LaneBasedObjectData
- Direct Known Subclasses:
AnimationBusStopData,AnimationConflictData,AnimationLaneDetectorData,AnimationTrafficLightData
public abstract class AnimationLaneBasedObjectData<T extends LaneBasedObject>
extends AnimationIdentifiableShape<T>
implements AbstractLineAnimation.LaneBasedObjectData, LineLocatable
Animation data of a LaneBasedObject.
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.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.animation.data.AnimationIdentifiableShape
getAbsoluteContour, getLocation, getObject, getRelativeBounds, getRelativeContourMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
getLocation, getZMethods inherited from interface org.opentrafficsim.draw.LineLocatable
contains, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getRelativeBounds, getRelativeContour, signedDistance
-
Constructor Details
-
AnimationLaneBasedObjectData
Constructor.- Parameters:
laneBasedObject- laneBasedObject.
-
-
Method Details
-
getLaneWidth
- Specified by:
getLaneWidthin interfaceAbstractLineAnimation.LaneBasedObjectData
-
getLine
- Specified by:
getLinein interfaceLineLocatable
-
getId
- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAnimationIdentifiableShape<T extends LaneBasedObject>
-