Package org.ros.math

Class RosMath

java.lang.Object
org.ros.math.RosMath

public class RosMath extends Object
Author:
damonkohler@google.com (Damon Kohler)
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    clamp(double value, double minmum, double maximum)
     
    static float
    clamp(float value, float minmum, float maximum)
     
    static int
    clamp(int value, int minmum, int maximum)
     
    static long
    clamp(long value, long minmum, long maximum)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • clamp

      public static double clamp(double value, double minmum, double maximum)
    • clamp

      public static float clamp(float value, float minmum, float maximum)
    • clamp

      public static int clamp(int value, int minmum, int maximum)
    • clamp

      public static long clamp(long value, long minmum, long maximum)