Carmen
Class Util

java.lang.Object
  extended by Carmen.Util

public class Util
extends java.lang.Object

Carmen class with utilities that provide unit conversion, basic trig, and host information retrieval


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String getHostName()
          returns host name
static double getTime()
           
static double hypot(double x, double y)
          returns the length of hypotenuse of right angled triangle
static double normalizeTheta(double theta)
          ensures that theta is in the range -PI to PI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getTime

public static double getTime()

hypot

public static double hypot(double x,
                           double y)
returns the length of hypotenuse of right angled triangle


normalizeTheta

public static double normalizeTheta(double theta)
ensures that theta is in the range -PI to PI


getHostName

public static java.lang.String getHostName()
returns host name