java.lang.Object
org.opentrafficsim.kpi.sampling.DataType<T,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataType<T,O,float[],G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataFloat<org.djunits.unit.SpeedUnit,org.djunits.value.vfloat.scalar.FloatSpeed,org.djunits.value.vfloat.vector.FloatSpeedVector,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataSpeed<GtuDataRoad>
org.opentrafficsim.road.network.sampling.data.SpeedLimit
All Implemented Interfaces:
org.djutils.base.Identifiable

public class SpeedLimit extends ExtendedDataSpeed<GtuDataRoad>
Speed limit for trajectories.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • SpeedLimit

      public SpeedLimit()
      Constructor.
  • Method Details

    • getValue

      public final org.djunits.value.vfloat.scalar.FloatSpeed getValue(GtuDataRoad gtu)
      Specified by:
      getValue in class ExtendedDataType<org.djunits.value.vfloat.scalar.FloatSpeed,org.djunits.value.vfloat.vector.FloatSpeedVector,float[],GtuDataRoad>
    • toString

      public final String toString()
      Overrides:
      toString in class ExtendedDataType<org.djunits.value.vfloat.scalar.FloatSpeed,org.djunits.value.vfloat.vector.FloatSpeedVector,float[],GtuDataRoad>