orbotix.robot.util
Class Vector3D

java.lang.Object
  extended by orbotix.robot.util.Vector3D

public class Vector3D
extends java.lang.Object

Class to contain 3D vector coordinates.


Constructor Summary
Vector3D()
           
 
Method Summary
static double magnitude(double x, double y, double z)
          Convenience method to calculate the magnitude of two values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vector3D

public Vector3D()
Method Detail

magnitude

public static double magnitude(double x,
                               double y,
                               double z)
Convenience method to calculate the magnitude of two values.

Parameters:
x - Coordinate.
y - Coordinate
Returns:
The magnitude of the vector values.