Class MapPriorityData
java.lang.Object
org.opentrafficsim.editor.extensions.map.MapPriorityData
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.Locatable,OtsShape,PriorityAnimation.PriorityData
Priority data for in the editor.
Copyright (c) 2024-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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getDirZ, signedDistance, signedDistanceMethods inherited from interface org.opentrafficsim.draw.road.PriorityAnimation.PriorityData
getZ
-
Constructor Details
-
MapPriorityData
Constructor.- Parameters:
linkData- link data.
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfacenl.tudelft.simulation.dsol.animation.Locatable- Specified by:
getLocationin interfaceOtsShape
-
getAbsoluteContour
- Specified by:
getAbsoluteContourin interfaceOtsShape
-
getRelativeContour
- Specified by:
getRelativeContourin interfaceOtsShape
-
getRelativeBounds
- Specified by:
getRelativeBoundsin interfacenl.tudelft.simulation.dsol.animation.Locatable- Specified by:
getRelativeBoundsin interfaceOtsShape
-
isAllStop
public boolean isAllStop()- Specified by:
isAllStopin interfacePriorityAnimation.PriorityData
-
isBusStop
public boolean isBusStop()- Specified by:
isBusStopin interfacePriorityAnimation.PriorityData
-
isNone
public boolean isNone()- Specified by:
isNonein interfacePriorityAnimation.PriorityData
-
isPriority
public boolean isPriority()- Specified by:
isPriorityin interfacePriorityAnimation.PriorityData
-
isStop
public boolean isStop()- Specified by:
isStopin interfacePriorityAnimation.PriorityData
-
isYield
public boolean isYield()- Specified by:
isYieldin interfacePriorityAnimation.PriorityData
-
toString
-