Package org.opentrafficsim.draw.road
Class LaneAnimation.CenterLine
- java.lang.Object
-
- org.opentrafficsim.draw.road.LaneAnimation.CenterLine
-
- All Implemented Interfaces:
Locatable
- Enclosing class:
- LaneAnimation
public static class LaneAnimation.CenterLine extends Object implements Locatable
Draw center line of a lane.
-
-
Constructor Summary
Constructors Constructor Description CenterLine(org.opentrafficsim.core.geometry.OTSLine3D centerLine)Construct a new CenterLine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opentrafficsim.core.geometry.BoundsgetBounds()org.opentrafficsim.core.geometry.OTSLine3DgetCenterLine()Retrieve the center line.org.opentrafficsim.core.geometry.DirectedPointgetLocation()
-
-
-
Method Detail
-
getLocation
public final org.opentrafficsim.core.geometry.DirectedPoint getLocation()
- Specified by:
getLocationin interfaceLocatable
-
getBounds
public final org.opentrafficsim.core.geometry.Bounds getBounds() throws RemoteException- Specified by:
getBoundsin interfaceLocatable- Throws:
RemoteException
-
getCenterLine
public org.opentrafficsim.core.geometry.OTSLine3D getCenterLine()
Retrieve the center line.- Returns:
- OTSLine3D; the center line
-
-