Class LaneAnimation.CenterLineAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneAnimation.CenterLine>
org.opentrafficsim.draw.road.LaneAnimation.CenterLineAnimation
All Implemented Interfaces:
Serializable, nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface<LaneAnimation.CenterLine>
Enclosing class:
LaneAnimation

public static class LaneAnimation.CenterLineAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<LaneAnimation.CenterLine> implements nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface<LaneAnimation.CenterLine>, Serializable
Animation for center line of a lane.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CenterLineAnimation(LaneAnimation.CenterLine centerLine, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
    Construct a new CenterLineAnimation.
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    paint(Graphics2D graphics, ImageObserver observer)
     

    Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D

    bind2Context, contains, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface

    contains, destroy, getId, getSource, paintComponent
  • Constructor Details

    • CenterLineAnimation

      public CenterLineAnimation(LaneAnimation.CenterLine centerLine, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) throws NamingException, RemoteException
      Construct a new CenterLineAnimation.
      Parameters:
      centerLine - CemterLine; the center line of a lane
      simulator - OtsSimulatorInterface; the simulator
      Throws:
      NamingException - when the name of this object is not unique
      RemoteException - when communication with a remote process fails
  • Method Details