Search
Vector Methods
 


 Public Methods

  Name Description

add

Overloaded.  

angleBetween

Determines the angle between two Vector-s.

crossProduct

Returns the size of the cross-product of the two Vector-s.

determinant

Finds the determinant of the two Vector-s.

divide

Divides a vector by a scalar.

equals

Overloaded.  

getLength

Gets the length of the current Vector.

getLengthSquared

Gets the squared length of the current Vector.

getX

Gets the X component of this Vector.

getY

Gets the Y component of this Vector.

hashCode

Object.hashCode override. Gets the hashcode of this Vector.

multiply

Overloaded.  

negate

Reverses the direction of this Vector.

normalize

Makes this Vector a unit Vector.

notEquals

Checks if the two specified Vector-s are different.

setX

Sets the X component of this Vector.

setY

Sets the Y component of this Vector.

subtract

Subtracts the two specified Vector-s.

toString

Overloaded.  

 See Also