The Vector type exposes the following members.

Methods

  NameDescription
Abs
Returns the modulus of the vector.
ConvertUnits
Converts the vector from one specified measure units to another.
CrossProduct
Returns vectors cross product.
DotProduct
Returns vectors dot product.
Equals
Overridden. See Equals(Object).
(Overrides ValueType..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromPolar
Creates vector from polar coordinates.
GetHashCode
Overridden. See GetHashCode()()().
(Overrides ValueType..::.GetHashCode()()().)
GetNormalized
Returns a unit vector.
GetPerpendicular
Returns the vector that is perpendicular for this.
GetProjection
Returns the projection of this vector on the vector specified by parameters.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Quant
Snaps the vector to a grid with the specifed cell size.
QuantX
Snaps the X-component to a grid with the specified x-size of a cell.
QuantY
Snaps the Y-component to a grid with the specified y-size of a cell.
Rotate
Rotates the vector on the given angle in radians.
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Operators

See Also