Class AnimationStripeData
java.lang.Object
org.opentrafficsim.animation.data.AnimationIdentifiableShape<T>
org.opentrafficsim.animation.data.AnimationCrossSectionElementData<Stripe>
org.opentrafficsim.animation.data.AnimationStripeData
- All Implemented Interfaces:
Locatable,Identifiable,OtsShape,LineLocatable,CrossSectionElementAnimation.CrossSectionElementData,StripeAnimation.StripeData
public class AnimationStripeData
extends AnimationCrossSectionElementData<Stripe>
implements StripeAnimation.StripeData
Animation data of a Stripe.
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.AnimationCrossSectionElementData
getLinkIdMethods 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.draw.LineLocatable
contains, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getRelativeBounds, getRelativeContour, signedDistanceMethods inherited from interface org.opentrafficsim.draw.road.StripeAnimation.StripeData
getLocation, getZ
-
Constructor Details
-
AnimationStripeData
Constructor.- Parameters:
stripe- stripe
-
-
Method Details
-
getCenterLine
- Specified by:
getCenterLinein interfaceCrossSectionElementAnimation.CrossSectionElementData- Specified by:
getCenterLinein interfaceStripeAnimation.StripeData- Overrides:
getCenterLinein classAnimationCrossSectionElementData<Stripe>
-
getReferenceLine
- Specified by:
getReferenceLinein interfaceStripeAnimation.StripeData
-
getLine
- Specified by:
getLinein interfaceLineLocatable
-
getElements
- Specified by:
getElementsin interfaceStripeAnimation.StripeData
-
getDashOffset
- Specified by:
getDashOffsetin interfaceStripeAnimation.StripeData
-
getWidth
- Specified by:
getWidthin interfaceStripeAnimation.StripeData
-
toString
- Overrides:
toStringin classAnimationCrossSectionElementData<Stripe>
-