Class AnimationNodeData
java.lang.Object
org.opentrafficsim.animation.data.AnimationIdentifiableShape<Node>
org.opentrafficsim.animation.data.AnimationNodeData
- All Implemented Interfaces:
Locatable,Identifiable,OtsShape,NodeAnimation.NodeData
public class AnimationNodeData
extends AnimationIdentifiableShape<Node>
implements NodeAnimation.NodeData
Animation data of a Node.
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
getId, getLocation, getObject, getRelativeBoundsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djutils.base.Identifiable
getIdMethods inherited from interface org.opentrafficsim.draw.network.NodeAnimation.NodeData
contains, getLocation, getZ, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, getAbsoluteBounds, getAbsoluteContour, getDirZ, getRelativeBounds, signedDistance
-
Constructor Details
-
AnimationNodeData
Constructor.- Parameters:
node- node.
-
-
Method Details
-
getAbsoluteContour
- Specified by:
getAbsoluteContourin interfaceOtsShape- Overrides:
getAbsoluteContourin classAnimationIdentifiableShape<Node>
-
getRelativeContour
- Specified by:
getRelativeContourin interfaceOtsShape- Overrides:
getRelativeContourin classAnimationIdentifiableShape<Node>
-
toString
-