Class LaneAnimation.CenterLine

    • Constructor Detail

      • CenterLine

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

      • getLocation

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

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