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

    Modifier and Type
    Method
    Description
    final org.opentrafficsim.core.geometry.Bounds
     
    org.opentrafficsim.core.geometry.OtsLine3d
    Retrieve the center line.
    final org.opentrafficsim.core.geometry.DirectedPoint
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable

    getDirZ, getZ
  • Constructor Details

    • CenterLine

      CenterLine(org.opentrafficsim.core.geometry.OtsLine3d centerLine)
      Construct a new CenterLine.
      Parameters:
      centerLine - OtsLine3d; the center line of a lane
  • Method Details

    • getLocation

      public final org.opentrafficsim.core.geometry.DirectedPoint getLocation()
      Specified by:
      getLocation in interface Locatable
    • getBounds

      public final org.opentrafficsim.core.geometry.Bounds getBounds() throws RemoteException
      Specified by:
      getBounds in interface Locatable
      Throws:
      RemoteException
    • getCenterLine

      public org.opentrafficsim.core.geometry.OtsLine3d getCenterLine()
      Retrieve the center line.
      Returns:
      OtsLine3d; the center line