OpenTK.Vector4d Members

The members of OpenTK.Vector4d are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Constructs a new Vector4d from the given Vector2d.
Constructs a new Vector4d from the given Vector3d.
Constructs a new Vector4d from the given Vector4d.
Documentation for this section has not yet been entered.
Constructs a new Vector4d from the specified Vector3d and W component.
Documentation for this section has not yet been entered.
Constructs a new Vector4d.

Public Fields

static readonly
OneVector4d. Defines an instance with all components set to 1.
static readonly
SizeInBytesint. Defines the size of the Vector4d struct in bytes.
static
UnitWVector4d. Defines a unit-length Vector4d that points towards the W-axis.
static
UnitXVector4d. Defines a unit-length Vector4d that points towards the X-axis.
static
UnitYVector4d. Defines a unit-length Vector4d that points towards the Y-axis.
static
UnitZVector4d. Defines a unit-length Vector4d that points towards the Z-axis.
Wdouble. The Z component of the Vector4d.
Xdouble. The X component of the Vector4d.
Ydouble. The Y component of the Vector4d.
Zdouble. The Z component of the Vector4d.
static
ZeroVector4d. Defines a zero-length Vector4d.

Public Properties

[read-only]
Lengthdouble. Gets the length (magnitude) of the vector.
[read-only]
LengthFastdouble. Gets an approximation of the vector length (magnitude).
[read-only]
LengthSquareddouble. Gets the square of the vector length (magnitude).
XyVector2d. Gets or sets an OpenTK.Vector2d with the X and Y components of this instance.
XyzVector3d. Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance.

Public Methods

Add(Vector4d)
Add the Vector passed as parameter to this instance.
Add(ref Vector4d)
Add the Vector passed as parameter to this instance.
static
Add(ref Vector4d, ref Vector4d, out Vector4d)
Add two Vectors
static
BaryCentric(double, double, ref Vector4d, ref Vector4d, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
static
Clamp(ref Vector4d, ref Vector4d, ref Vector4d, out Vector4d)
Clamp a vector to the given minimum and maximum vectors
Div(double)
Divide this instance by a scalar.
static
Div(double, ref Vector4d, out Vector4d)
Divide a vector by a scalar
static
Divide(ref Vector4d, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
static
Divide(double, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
static
Dot(Vector4d, Vector4d) : double
Calculate the dot product of two vectors
static
Dot(out double, ref Vector4d, ref Vector4d)
Calculate the dot product of two vectors
Equals(Vector4d) : 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(double, ref Vector4d, ref Vector4d, out Vector4d)
Returns a new Vector that is the linear blend of the 2 given Vectors
static
Max(ref Vector4d, ref Vector4d, out Vector4d)
Calculate the component-wise maximum of two vectors
static
Min(ref Vector4d, ref Vector4d, out Vector4d)
Calculate the component-wise minimum of two vectors
Mult(double)
Multiply this instance by a scalar.
static
Mult(double, ref Vector4d, out Vector4d)
Multiply a vector and a scalar
static
Multiply(ref Vector4d, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
static
Multiply(double, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
Normalize()
Scales the Vector4d to unit length.
static
Normalize(ref Vector4d, out Vector4d)
Scale a vector to unit length
NormalizeFast()
Scales the Vector4d to approximately unit length.
static
NormalizeFast(ref Vector4d, out Vector4d)
Scale a vector to approximately unit length
Scale(Vector4d)
Scales this instance by the given parameter.
Scale(ref Vector4d)
Scales this instance by the given parameter.
Scale(double, double, double, double)
Scales the current Vector4d by the given amounts.
Sub(Vector4d)
Subtract the Vector passed as parameter from this instance.
Sub(ref Vector4d)
Subtract the Vector passed as parameter from this instance.
static
Sub(ref Vector4d, ref Vector4d, out Vector4d)
Subtract one Vector from another
static
Subtract(ref Vector4d, ref Vector4d, out Vector4d)
Documentation for this section has not yet been entered.
override
ToString() : string
Returns a System.String that represents the current Vector4d.
static
Transform(ref Vector4d, ref Matrix4d, out Vector4d)
Transform a Vector by the given Matrix
static
Transform(ref Vector4d, ref Quaterniond, out Vector4d)
Documentation for this section has not yet been entered.

Public Operators

static
Equality(Vector4d, Vector4d)Documentation for this section has not yet been entered.
static
Inequality(Vector4d, Vector4d)Documentation for this section has not yet been entered.
static
Conversion to System.Double*(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.IntPtr(Explicit)Documentation for this section has not yet been entered.