MonoMac.OpenGL.Vector2d: Method Members

The methods of MonoMac.OpenGL.Vector2d are listed below. For a list of all members, see the Vector2d Members list.

See Also: Inherited members from System.ValueType

Public Methods

Add(Vector2d)
Add the Vector passed as parameter to this instance.
Add(ref Vector2d)
Add the Vector passed as parameter to this instance.
static
Add(Vector2d, Vector2d) : Vector2d
Adds two vectors.
static
Add(ref Vector2d, ref Vector2d, out Vector2d)
Adds two vectors.
static
BaryCentric(Vector2d, Vector2d, Vector2d, double, double) : Vector2d
Interpolate 3 Vectors using Barycentric coordinates
static
BaryCentric(ref Vector2d, ref Vector2d, ref Vector2d, double, double, out Vector2d)
Interpolate 3 Vectors using Barycentric coordinates
static
Clamp(Vector2d, Vector2d, Vector2d) : Vector2d
Clamp a vector to the given minimum and maximum vectors
static
Clamp(ref Vector2d, ref Vector2d, ref Vector2d, out Vector2d)
Clamp a vector to the given minimum and maximum vectors
Div(double)
Divide this instance by a scalar.
static
Div(Vector2d, double) : Vector2d
Divide a vector by a scalar
static
Div(ref Vector2d, double, out Vector2d)
Divide a vector by a scalar
static
Divide(Vector2d, Vector2d) : Vector2d
Divides a vector by the components of a vector (scale).
static
Divide(Vector2d, double) : Vector2d
Divides a vector by a scalar.
static
Divide(ref Vector2d, ref Vector2d, out Vector2d)
Divide a vector by the components of a vector (scale).
static
Divide(ref Vector2d, double, out Vector2d)
Divides a vector by a scalar.
static
Dot(Vector2d, Vector2d) : double
Calculate the dot (scalar) product of two vectors
static
Dot(ref Vector2d, ref Vector2d, out double)
Calculate the dot (scalar) product of two vectors
Equals(Vector2d) : bool
Indicates whether the current vector is equal to another vector.
override
Equals(object) : bool
Indicates whether this instance and a specified object are equal.
override
GetHashCode() : int
Returns the hashcode for this instance.
static
Lerp(Vector2d, Vector2d, double) : Vector2d
Returns a new Vector that is the linear blend of the 2 given Vectors
static
Lerp(ref Vector2d, ref Vector2d, double, out Vector2d)
Returns a new Vector that is the linear blend of the 2 given Vectors
static
Max(Vector2d, Vector2d) : Vector2d
Calculate the component-wise maximum of two vectors
static
Max(ref Vector2d, ref Vector2d, out Vector2d)
Calculate the component-wise maximum of two vectors
static
Min(Vector2d, Vector2d) : Vector2d
Calculate the component-wise minimum of two vectors
static
Min(ref Vector2d, ref Vector2d, out Vector2d)
Calculate the component-wise minimum of two vectors
Mult(double)
Multiply this instance by a scalar.
static
Mult(Vector2d, double) : Vector2d
Multiply a vector and a scalar
static
Mult(ref Vector2d, double, out Vector2d)
Multiply a vector and a scalar
static
Multiply(Vector2d, Vector2d) : Vector2d
Multiplies a vector by the components a vector (scale).
static
Multiply(Vector2d, double) : Vector2d
Multiplies a vector by a scalar.
static
Multiply(ref Vector2d, ref Vector2d, out Vector2d)
Multiplies a vector by the components of a vector (scale).
static
Multiply(ref Vector2d, double, out Vector2d)
Multiplies a vector by a scalar.
Normalize()
Scales the Vector2 to unit length.
static
Normalize(Vector2d) : Vector2d
Scale a vector to unit length
static
Normalize(ref Vector2d, out Vector2d)
Scale a vector to unit length
static
NormalizeFast(Vector2d) : Vector2d
Scale a vector to approximately unit length
static
NormalizeFast(ref Vector2d, out Vector2d)
Scale a vector to approximately unit length
Scale(Vector2d)
Scales this instance by the given parameter.
Scale(ref Vector2d)
Scales this instance by the given parameter.
Scale(double, double)
Scales the current Vector2 by the given amounts.
Sub(Vector2d)
Subtract the Vector passed as parameter from this instance.
Sub(ref Vector2d)
Subtract the Vector passed as parameter from this instance.
static
Sub(Vector2d, Vector2d) : Vector2d
Subtract one Vector from another
static
Sub(ref Vector2d, ref Vector2d, out Vector2d)
Subtract one Vector from another
static
Subtract(Vector2d, Vector2d) : Vector2d
Subtract one Vector from another
static
Subtract(ref Vector2d, ref Vector2d, out Vector2d)
Subtract one Vector from another
override
ToString() : string
Returns a System.String that represents the current instance.
static
Transform(Vector2d, Quaterniond) : Vector2d
Transforms a vector by a quaternion rotation.
static
Transform(ref Vector2d, ref Quaterniond, out Vector2d)
Transforms a vector by a quaternion rotation.