Package org.opentrafficsim.draw.road
Interface GtuGeneratorPositionAnimation.GtuGeneratorPositionData
- All Superinterfaces:
nl.tudelft.simulation.dsol.animation.Locatable,OtsShape
- Enclosing class:
- GtuGeneratorPositionAnimation
GtuGeneratorPositionData provides the information required to draw a GTU generator position.
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 -
Method Summary
Modifier and TypeMethodDescriptionintReturns the queue count.default doublegetZ()default doublesignedDistance(Point2d point) Methods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getLocation, getRelativeBounds, getRelativeContour, signedDistance
-
Method Details
-
getQueueCount
int getQueueCount()Returns the queue count.- Returns:
- queue count.
-
signedDistance
- Specified by:
signedDistancein interfaceOtsShape
-
getZ
default double getZ()- Specified by:
getZin interfacenl.tudelft.simulation.dsol.animation.Locatable
-