Interface AbstractLineAnimation.LaneBasedObjectData
- All Superinterfaces:
Identifiable,LineLocatable,Locatable,OtsShape
- All Known Subinterfaces:
BusStopAnimation.BusStopData,ConflictAnimation.ConflictData,LaneDetectorAnimation.LaneDetectorData,LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.SinkData,TrafficLightAnimation.TrafficLightData
- Enclosing class:
- AbstractLineAnimation<L extends AbstractLineAnimation.LaneBasedObjectData,
T extends RenderableTextSource<L, T>>
public static interface AbstractLineAnimation.LaneBasedObjectData
extends LineLocatable, Identifiable
Object data to draw a lane based object.
-
Field Summary
Fields inherited from interface org.opentrafficsim.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Method Summary
Modifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.LengthReturns the width of the lane.default doublegetZ()Methods inherited from interface org.djutils.base.Identifiable
getIdMethods inherited from interface org.opentrafficsim.animation.LineLocatable
contains, getLine, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getRelativeBounds, getRelativeContour, signedDistance
-
Method Details
-
getLaneWidth
org.djunits.value.vdouble.scalar.Length getLaneWidth()Returns the width of the lane.- Returns:
- width of the lane.
-
getLocation
DirectedPoint2d getLocation()- Specified by:
getLocationin interfaceLocatable- Specified by:
getLocationin interfaceOtsShape
-
getZ
default double getZ()
-