Search
Vector Methods
 


 Public Methods

  Name Description

add

Adds two vectors.

addPoint

Translates point by a vector.

angleBetween

Determines the angle between two vectors.

crossProduct

Returns the size of cross-product of two vectors.

determinant

Finds the determinant of two vectors.

divide

Divides a vector by a scalar.

multiply

Returns the dot product of two vectors.

multiplyScalarAndVector

Multiplies vector by a scalar.

multiplyVectorAndScalar

Multiplies vector by a scalar.

negate

Reverses the direction of this vector.

normalize

Makes this vector a unit vector.

subtract

Subtracts two vectors.

 See Also