Class AnimationGtuGeneratorPositionData
java.lang.Object
org.opentrafficsim.animation.data.AnimationGtuGeneratorPositionData
- All Implemented Interfaces:
Locatable,OtsShape,GtuGeneratorPositionAnimation.GtuGeneratorPositionData
public class AnimationGtuGeneratorPositionData
extends Object
implements GtuGeneratorPositionAnimation.GtuGeneratorPositionData
Animation data of a GtuGeneratorPosition.
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
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
getZ, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getDirZ, signedDistance
-
Constructor Details
-
AnimationGtuGeneratorPositionData
Constructor.- Parameters:
position- position within a generator.
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceLocatable- Specified by:
getLocationin interfaceOtsShape
-
getRelativeBounds
- Specified by:
getRelativeBoundsin interfaceLocatable- Specified by:
getRelativeBoundsin interfaceOtsShape
-
getAbsoluteContour
- Specified by:
getAbsoluteContourin interfaceOtsShape
-
getRelativeContour
- Specified by:
getRelativeContourin interfaceOtsShape
-
getQueueCount
public int getQueueCount()- Specified by:
getQueueCountin interfaceGtuGeneratorPositionAnimation.GtuGeneratorPositionData
-
getGeneratorPosition
Returns the generator position.- Returns:
- generator position.
-
toString
-