Class SpeedInfoCurvature

    • Constructor Detail

      • SpeedInfoCurvature

        public SpeedInfoCurvature​(Length radius)
        Constructor with curvature radius.
        Parameters:
        radius - Length; curvature radius
        Throws:
        NullPointerException - if radius is null
    • Method Detail

      • getRadius

        public final Length getRadius()
        Returns the curvature radius.
        Returns:
        curvature radius
      • getSpeedForLateralAcceleration

        public final Speed getSpeedForLateralAcceleration​(Acceleration acceleration)
        Returns the speed for which the current lateral acceleration follows in the corner.
        Parameters:
        acceleration - Acceleration; acceleration to result from speed in corner
        Returns:
        speed for which the current lateral acceleration follows in the corner
        Throws:
        NullPointerException - if acceleration is null
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object