Package org.opentrafficsim.draw.object
Interface StaticObjectAnimation.StaticObjectData
- All Superinterfaces:
ClickableLocatable
,nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
,org.opentrafficsim.base.geometry.SpatialObject
- Enclosing class:
- StaticObjectAnimation
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
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Method Summary
Modifier and TypeMethodDescriptionList<org.djutils.draw.point.Point2d>
Returns the geometry of the object.Methods inherited from interface org.opentrafficsim.draw.ClickableLocatable
getBounds
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ, getZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation, getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
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.
-