Package org.opentrafficsim.draw.object
Interface StaticObjectAnimation.StaticObjectData
- All Superinterfaces:
nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
- Enclosing class:
- StaticObjectAnimation
public static interface StaticObjectAnimation.StaticObjectData
extends org.opentrafficsim.base.geometry.OtsLocatable
StaticObjectData provides the information required to draw a static object.
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
-
Method Summary
Modifier and TypeMethodDescriptionList<org.djutils.draw.point.Point2d>
Returns the geometry of the object.Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ, getZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getBounds, getLocation
-
Method Details
-
getGeometry
List<org.djutils.draw.point.Point2d> getGeometry()Returns the geometry of the object.- Returns:
- List<Point2d> list of points of the geometry.
-