Click or drag to resize

Vector Methods

The Vector type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add vector, updating this vector
Public methodAngle
Mathematical angle, in radians, from positive x-axis and counter-clockwise.

Value is between

-pi <= theta <= pi

Public methodDot
Calculate the dot product of two vectors
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
Vector length
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize
Normalize vector to length 1.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodYAngle
Compass heading, in radians, from positive y-axis and clock-wise.

Value is between

-pi <= theta <= pi

Top
See Also