Class AnimationCrossSectionElementData<T extends CrossSectionElement>
java.lang.Object
org.opentrafficsim.animation.data.AnimationIdentifiableShape<T>
org.opentrafficsim.animation.data.AnimationCrossSectionElementData<T>
- Type Parameters:
T- cross-section element type.
- All Implemented Interfaces:
Locatable,Identifiable,OtsShape,CrossSectionElementAnimation.CrossSectionElementData
- Direct Known Subclasses:
AnimationLaneData,AnimationShoulderData,AnimationStripeData
public class AnimationCrossSectionElementData<T extends CrossSectionElement>
extends AnimationIdentifiableShape<T>
implements CrossSectionElementAnimation.CrossSectionElementData
Animation data of a CrossSectionElement.
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, getId, getLocation, getObject, getRelativeBounds, getRelativeContourMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getLocation, getRelativeBounds, getRelativeContour, signedDistance, signedDistance
-
Constructor Details
-
AnimationCrossSectionElementData
Constructor.- Parameters:
element- cross section element.
-
-
Method Details
-
getCenterLine
- Specified by:
getCenterLinein interfaceCrossSectionElementAnimation.CrossSectionElementData
-
getLinkId
- Specified by:
getLinkIdin interfaceCrossSectionElementAnimation.CrossSectionElementData
-
toString
-