Uses of Class
edu.ou.utils.Vector2D

Packages that use Vector2D
edu.ou.mlfw.gui   
edu.ou.utils   
 

Uses of Vector2D in edu.ou.mlfw.gui
 

Methods in edu.ou.mlfw.gui that return Vector2D
 Vector2D Shadow2D.getDrawPosition()
           
 Vector2D TextBoxShadow.getRealPosition()
           
abstract  Vector2D Shadow2D.getRealPosition()
          JSpacewarComponent uses this method in conjunction with the bounding box information to determine if the graphic needs to be redrawn to account for wrapping.
 Vector2D LineShadow.getRealPosition()
           
 Vector2D CircleShadow.getRealPosition()
           
 

Methods in edu.ou.mlfw.gui with parameters of type Vector2D
 void Shadow2D.setDrawPosition(Vector2D pos)
          Centers the bounding box around a particular point for drawing.
 void TextBoxShadow.setRealPosition(Vector2D rp)
           
 

Constructors in edu.ou.mlfw.gui with parameters of type Vector2D
CircleShadow(Vector2D location)
           
LineShadow(Vector2D linesegment, Vector2D start)
          start should be the starting point of the line, and linesegment should be a vector pointing from the starting point to the desired end point of the line segment.
 

Uses of Vector2D in edu.ou.utils
 

Fields in edu.ou.utils declared as Vector2D
static Vector2D Vector2D.X_NEG_UNIT_VECTOR
           
static Vector2D Vector2D.X_UNIT_VECTOR
           
static Vector2D Vector2D.Y_NEG_UNIT_VECTOR
           
static Vector2D Vector2D.Y_UNIT_VECTOR
           
static Vector2D Vector2D.ZERO_VECTOR
           
 

Methods in edu.ou.utils that return Vector2D
 Vector2D Vector2D.add(Vector2D v)
          Add these two vectors together.
 Vector2D Vector2D.divide(float f)
          Divide this vector by the given scalar.
 Vector2D Vector2D.fastRotate(float cos, float sin)
          Rotate this vector using the given sine and cosine values.
static Vector2D Vector2D.fromAngle(float angle, float magnitude)
          Create a vector from the given angle (in radians) and magnitude
static Vector2D Vector2D.getRandom(java.util.Random rand, float maxMagnitude)
          Create a random vector with a magnitude no greater than specified
 Vector2D Vector2D.multiply(float f)
          Multiply this vector by the given scalar.
 Vector2D Vector2D.negate()
          Reverse this vector.
 Vector2D Vector2D.project(Vector2D v)
          Project the given vector onto this vector.
 Vector2D Vector2D.rotate(float f)
          Rotate this vector by the specified angle (in radians)
 Vector2D Vector2D.subtract(Vector2D v)
          Subtract the other vector from this vector.
 Vector2D Vector2D.subtractAndRotate(Vector2D v, float cos, float sin)
          Subtract the other vector from this vector and rotate the result using the given sine and cosine values.
 Vector2D Vector2D.unit()
          The unit vector derived from this vector, or an arbitrary unit vector if this is the zero vector
 

Methods in edu.ou.utils with parameters of type Vector2D
 Vector2D Vector2D.add(Vector2D v)
          Add these two vectors together.
 float Vector2D.angleBetween(Vector2D v)
          The angle (in radians) between this vector and the given vector.
 int Vector2D.compareTo(Vector2D other)
          Compare the vectors on the basis of magnitude.
 float Vector2D.cross(Vector2D v)
          Get the cross product of the two vectors.
 float Vector2D.dot(Vector2D v)
          Get the dot product of the two vectors.
 boolean Vector2D.equals(Vector2D v)
          Determine if two vectors are equal (have the same components)
 Vector2D Vector2D.project(Vector2D v)
          Project the given vector onto this vector.
 Vector2D Vector2D.subtract(Vector2D v)
          Subtract the other vector from this vector.
 Vector2D Vector2D.subtractAndRotate(Vector2D v, float cos, float sin)
          Subtract the other vector from this vector and rotate the result using the given sine and cosine values.
 

Constructors in edu.ou.utils with parameters of type Vector2D
Vector2D(Vector2D b)
          Create a new vector from an old one;