|
The Open Toolkit library
1.0
|
Represents a 3D vector using three double-precision floating-point numbers. More...
Inherits IEquatable< Vector3d >.
Public Member Functions | |
| Vector3d (double value) | |
| Constructs a new instance. More... | |
| Vector3d (double x, double y, double z) | |
| Constructs a new Vector3. More... | |
| Vector3d (Vector2d v) | |
| Constructs a new instance from the given Vector2d. More... | |
| Vector3d (Vector3d v) | |
| Constructs a new instance from the given Vector3d. More... | |
| Vector3d (Vector4d v) | |
| Constructs a new instance from the given Vector4d. More... | |
| void | Add (Vector3d right) |
| Add the Vector passed as parameter to this instance. More... | |
| void | Add (ref Vector3d right) |
| Add the Vector passed as parameter to this instance. More... | |
| void | Sub (Vector3d right) |
| Subtract the Vector passed as parameter from this instance. More... | |
| void | Sub (ref Vector3d right) |
| Subtract the Vector passed as parameter from this instance. More... | |
| void | Mult (double f) |
| Multiply this instance by a scalar. More... | |
| void | Div (double f) |
| Divide this instance by a scalar. More... | |
| Vector3d | Normalized () |
| Returns a copy of the Vector3d scaled to unit length. More... | |
| void | Normalize () |
| Scales the Vector3d to unit length. More... | |
| void | NormalizeFast () |
| Scales the Vector3d to approximately unit length. More... | |
| void | Scale (double sx, double sy, double sz) |
| Scales the current Vector3d by the given amounts. More... | |
| void | Scale (Vector3d scale) |
| Scales this instance by the given parameter. More... | |
| void | Scale (ref Vector3d scale) |
| Scales this instance by the given parameter. More... | |
| override string | ToString () |
| Returns a System.String that represents the current Vector3. More... | |
| override int | GetHashCode () |
| Returns the hashcode for this instance. More... | |
| override bool | Equals (object obj) |
| Indicates whether this instance and a specified object are equal. More... | |
| bool | Equals (Vector3d other) |
| Indicates whether the current vector is equal to another vector. More... | |
Static Public Member Functions | |
| static Vector3d | Sub (Vector3d a, Vector3d b) |
| Subtract one Vector from another More... | |
| static void | Sub (ref Vector3d a, ref Vector3d b, out Vector3d result) |
| Subtract one Vector from another More... | |
| static Vector3d | Mult (Vector3d a, double f) |
| Multiply a vector and a scalar More... | |
| static void | Mult (ref Vector3d a, double f, out Vector3d result) |
| Multiply a vector and a scalar More... | |
| static Vector3d | Div (Vector3d a, double f) |
| Divide a vector by a scalar More... | |
| static void | Div (ref Vector3d a, double f, out Vector3d result) |
| Divide a vector by a scalar More... | |
| static Vector3d | Add (Vector3d a, Vector3d b) |
| Adds two vectors. More... | |
| static void | Add (ref Vector3d a, ref Vector3d b, out Vector3d result) |
| Adds two vectors. More... | |
| static Vector3d | Subtract (Vector3d a, Vector3d b) |
| Subtract one Vector from another More... | |
| static void | Subtract (ref Vector3d a, ref Vector3d b, out Vector3d result) |
| Subtract one Vector from another More... | |
| static Vector3d | Multiply (Vector3d vector, double scale) |
| Multiplies a vector by a scalar. More... | |
| static void | Multiply (ref Vector3d vector, double scale, out Vector3d result) |
| Multiplies a vector by a scalar. More... | |
| static Vector3d | Multiply (Vector3d vector, Vector3d scale) |
| Multiplies a vector by the components a vector (scale). More... | |
| static void | Multiply (ref Vector3d vector, ref Vector3d scale, out Vector3d result) |
| Multiplies a vector by the components of a vector (scale). More... | |
| static Vector3d | Divide (Vector3d vector, double scale) |
| Divides a vector by a scalar. More... | |
| static void | Divide (ref Vector3d vector, double scale, out Vector3d result) |
| Divides a vector by a scalar. More... | |
| static Vector3d | Divide (Vector3d vector, Vector3d scale) |
| Divides a vector by the components of a vector (scale). More... | |
| static void | Divide (ref Vector3d vector, ref Vector3d scale, out Vector3d result) |
| Divide a vector by the components of a vector (scale). More... | |
| static Vector3d | ComponentMin (Vector3d a, Vector3d b) |
| Calculate the component-wise minimum of two vectors More... | |
| static void | ComponentMin (ref Vector3d a, ref Vector3d b, out Vector3d result) |
| Calculate the component-wise minimum of two vectors More... | |
| static Vector3d | ComponentMax (Vector3d a, Vector3d b) |
| Calculate the component-wise maximum of two vectors More... | |
| static void | ComponentMax (ref Vector3d a, ref Vector3d b, out Vector3d result) |
| Calculate the component-wise maximum of two vectors More... | |
| static Vector3d | Min (Vector3d left, Vector3d right) |
| Returns the Vector3d with the minimum magnitude More... | |
| static Vector3d | Max (Vector3d left, Vector3d right) |
| Returns the Vector3d with the minimum magnitude More... | |
| static Vector3d | Clamp (Vector3d vec, Vector3d min, Vector3d max) |
| Clamp a vector to the given minimum and maximum vectors More... | |
| static void | Clamp (ref Vector3d vec, ref Vector3d min, ref Vector3d max, out Vector3d result) |
| Clamp a vector to the given minimum and maximum vectors More... | |
| static Vector3d | Normalize (Vector3d vec) |
| Scale a vector to unit length More... | |
| static void | Normalize (ref Vector3d vec, out Vector3d result) |
| Scale a vector to unit length More... | |
| static Vector3d | NormalizeFast (Vector3d vec) |
| Scale a vector to approximately unit length More... | |
| static void | NormalizeFast (ref Vector3d vec, out Vector3d result) |
| Scale a vector to approximately unit length More... | |
| static double | Dot (Vector3d left, Vector3d right) |
| Calculate the dot (scalar) product of two vectors More... | |
| static void | Dot (ref Vector3d left, ref Vector3d right, out double result) |
| Calculate the dot (scalar) product of two vectors More... | |
| static Vector3d | Cross (Vector3d left, Vector3d right) |
| Caclulate the cross (vector) product of two vectors More... | |
| static void | Cross (ref Vector3d left, ref Vector3d right, out Vector3d result) |
| Caclulate the cross (vector) product of two vectors More... | |
| static Vector3d | Lerp (Vector3d a, Vector3d b, double blend) |
| Returns a new Vector that is the linear blend of the 2 given Vectors More... | |
| static void | Lerp (ref Vector3d a, ref Vector3d b, double blend, out Vector3d result) |
| Returns a new Vector that is the linear blend of the 2 given Vectors More... | |
| static Vector3d | BaryCentric (Vector3d a, Vector3d b, Vector3d c, double u, double v) |
| Interpolate 3 Vectors using Barycentric coordinates More... | |
| static void | BaryCentric (ref Vector3d a, ref Vector3d b, ref Vector3d c, double u, double v, out Vector3d result) |
| Interpolate 3 Vectors using Barycentric coordinates More... | |
| static Vector3d | TransformVector (Vector3d vec, Matrix4d mat) |
| Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored. More... | |
| static void | TransformVector (ref Vector3d vec, ref Matrix4d mat, out Vector3d result) |
| Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored. More... | |
| static Vector3d | TransformNormal (Vector3d norm, Matrix4d mat) |
| Transform a Normal by the given Matrix More... | |
| static void | TransformNormal (ref Vector3d norm, ref Matrix4d mat, out Vector3d result) |
| Transform a Normal by the given Matrix More... | |
| static Vector3d | TransformNormalInverse (Vector3d norm, Matrix4d invMat) |
| Transform a Normal by the (transpose of the) given Matrix More... | |
| static void | TransformNormalInverse (ref Vector3d norm, ref Matrix4d invMat, out Vector3d result) |
| Transform a Normal by the (transpose of the) given Matrix More... | |
| static Vector3d | TransformPosition (Vector3d pos, Matrix4d mat) |
| Transform a Position by the given Matrix More... | |
| static void | TransformPosition (ref Vector3d pos, ref Matrix4d mat, out Vector3d result) |
| Transform a Position by the given Matrix More... | |
| static Vector3d | Transform (Vector3d vec, Matrix4d mat) |
| Transform a Vector by the given Matrix More... | |
| static void | Transform (ref Vector3d vec, ref Matrix4d mat, out Vector3d result) |
| Transform a Vector by the given Matrix More... | |
| static Vector3d | Transform (Vector3d vec, Quaterniond quat) |
| Transforms a vector by a quaternion rotation. More... | |
| static void | Transform (ref Vector3d vec, ref Quaterniond quat, out Vector3d result) |
| Transforms a vector by a quaternion rotation. More... | |
| static Vector3d | TransformPerspective (Vector3d vec, Matrix4d mat) |
| Transform a Vector3d by the given Matrix, and project the resulting Vector4 back to a Vector3 More... | |
| static void | TransformPerspective (ref Vector3d vec, ref Matrix4d mat, out Vector3d result) |
| Transform a Vector3d by the given Matrix, and project the resulting Vector4d back to a Vector3d More... | |
| static double | CalculateAngle (Vector3d first, Vector3d second) |
| Calculates the angle (in radians) between two vectors. More... | |
| static void | CalculateAngle (ref Vector3d first, ref Vector3d second, out double result) |
| Calculates the angle (in radians) between two vectors. More... | |
| static Vector3d | operator+ (Vector3d left, Vector3d right) |
| Adds two instances. More... | |
| static Vector3d | operator- (Vector3d left, Vector3d right) |
| Subtracts two instances. More... | |
| static Vector3d | operator- (Vector3d vec) |
| Negates an instance. More... | |
| static Vector3d | operator* (Vector3d vec, double scale) |
| Multiplies an instance by a scalar. More... | |
| static Vector3d | operator* (double scale, Vector3d vec) |
| Multiplies an instance by a scalar. More... | |
| static Vector3d | operator* (Vector3d vec, Matrix4d mat) |
| Multiplies an instance by a matrix. More... | |
| static Vector3d | operator* (Matrix4d mat, Vector3d vec) |
| Multiplies an instance by a matrix. More... | |
| static Vector3d | operator/ (Vector3d vec, double scale) |
| Divides an instance by a scalar. More... | |
| static bool | operator== (Vector3d left, Vector3d right) |
| Compares two instances for equality. More... | |
| static bool | operator!= (Vector3d left, Vector3d right) |
| Compares two instances for inequality. More... | |
| static | operator Vector3d (Vector3 v3) |
| Converts OpenTK.Vector3 to OpenTK.Vector3d. More... | |
| static | operator Vector3 (Vector3d v3d) |
| Converts OpenTK.Vector3d to OpenTK.Vector3. More... | |
Public Attributes | |
| double | X |
| The X component of the Vector3. More... | |
| double | Y |
| The Y component of the Vector3. More... | |
| double | Z |
| The Z component of the Vector3. More... | |
Static Public Attributes | |
| static readonly Vector3d | UnitX = new Vector3d(1, 0, 0) |
| Defines a unit-length Vector3d that points towards the X-axis. More... | |
| static readonly Vector3d | UnitY = new Vector3d(0, 1, 0) |
| Defines a unit-length Vector3d that points towards the Y-axis. More... | |
| static readonly Vector3d | UnitZ = new Vector3d(0, 0, 1) |
| /// Defines a unit-length Vector3d that points towards the Z-axis. More... | |
| static readonly Vector3d | Zero = new Vector3d(0, 0, 0) |
| Defines a zero-length Vector3. More... | |
| static readonly Vector3d | One = new Vector3d(1, 1, 1) |
| Defines an instance with all components set to 1. More... | |
| static readonly int | SizeInBytes = Marshal.SizeOf(new Vector3d()) |
| Defines the size of the Vector3d struct in bytes. More... | |
Properties | |
| double | this[int index] [get, set] |
| Gets or sets the value at the index of the Vector. More... | |
| double | Length [get] |
| Gets the length (magnitude) of the vector. More... | |
| double | LengthFast [get] |
| Gets an approximation of the vector length (magnitude). More... | |
| double | LengthSquared [get] |
| Gets the square of the vector length (magnitude). More... | |
| Vector2d | Xy [get, set] |
| Gets or sets an OpenTK.Vector2d with the X and Y components of this instance. More... | |
| Vector2d | Xz [get, set] |
| Gets or sets an OpenTK.Vector2d with the X and Z components of this instance. More... | |
| Vector2d | Yx [get, set] |
| Gets or sets an OpenTK.Vector2d with the Y and X components of this instance. More... | |
| Vector2d | Yz [get, set] |
| Gets or sets an OpenTK.Vector2d with the Y and Z components of this instance. More... | |
| Vector2d | Zx [get, set] |
| Gets or sets an OpenTK.Vector2d with the Z and X components of this instance. More... | |
| Vector2d | Zy [get, set] |
| Gets or sets an OpenTK.Vector2d with the Z and Y components of this instance. More... | |
| Vector3d | Xzy [get, set] |
| Gets or sets an OpenTK.Vector3d with the X, Z, and Y components of this instance. More... | |
| Vector3d | Yxz [get, set] |
| Gets or sets an OpenTK.Vector3d with the Y, X, and Z components of this instance. More... | |
| Vector3d | Yzx [get, set] |
| Gets or sets an OpenTK.Vector3d with the Y, Z, and X components of this instance. More... | |
| Vector3d | Zxy [get, set] |
| Gets or sets an OpenTK.Vector3d with the Z, X, and Y components of this instance. More... | |
| Vector3d | Zyx [get, set] |
| Gets or sets an OpenTK.Vector3d with the Z, Y, and X components of this instance. More... | |
Represents a 3D vector using three double-precision floating-point numbers.
| OpenTK.Vector3d.Vector3d | ( | double | value | ) |
Constructs a new instance.
| value | The value that will initialize this instance. |
| OpenTK.Vector3d.Vector3d | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
| OpenTK.Vector3d.Vector3d | ( | Vector2d | v | ) |
| OpenTK.Vector3d.Vector3d | ( | Vector3d | v | ) |
| OpenTK.Vector3d.Vector3d | ( | Vector4d | v | ) |
| void OpenTK.Vector3d.Add | ( | Vector3d | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
| void OpenTK.Vector3d.Add | ( | ref Vector3d | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
Adds two vectors.
| a | Left operand. |
| b | Right operand. |
Adds two vectors.
| a | Left operand. |
| b | Right operand. |
| result | Result of operation. |
|
static |
Interpolate 3 Vectors using Barycentric coordinates
| a | First input Vector |
| b | Second input Vector |
| c | Third input Vector |
| u | First Barycentric Coordinate |
| v | Second Barycentric Coordinate |
|
static |
Interpolate 3 Vectors using Barycentric coordinates
| a | First input Vector. |
| b | Second input Vector. |
| c | Third input Vector. |
| u | First Barycentric Coordinate. |
| v | Second Barycentric Coordinate. |
| result | Output Vector. a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise |
Calculates the angle (in radians) between two vectors.
| first | The first vector. |
| second | The second vector. |
Note that the returned angle is never bigger than the constant Pi.
|
static |
Calculates the angle (in radians) between two vectors.
| first | The first vector. |
| second | The second vector. |
| result | Angle (in radians) between the vectors. |
Note that the returned angle is never bigger than the constant Pi.
Clamp a vector to the given minimum and maximum vectors
| vec | Input vector |
| min | Minimum vector |
| max | Maximum vector |
|
static |
Clamp a vector to the given minimum and maximum vectors
| vec | Input vector |
| min | Minimum vector |
| max | Maximum vector |
| result | The clamped vector |
Calculate the component-wise maximum of two vectors
| a | First operand |
| b | Second operand |
|
static |
Calculate the component-wise maximum of two vectors
| a | First operand |
| b | Second operand |
| result | The component-wise maximum |
Calculate the component-wise minimum of two vectors
| a | First operand |
| b | Second operand |
|
static |
Calculate the component-wise minimum of two vectors
| a | First operand |
| b | Second operand |
| result | The component-wise minimum |
Caclulate the cross (vector) product of two vectors
| left | First operand |
| right | Second operand |
|
static |
Caclulate the cross (vector) product of two vectors
| left | First operand |
| right | Second operand |
| result | The cross product of the two inputs |
| void OpenTK.Vector3d.Div | ( | double | f | ) |
Divide this instance by a scalar.
| f | Scalar operand. |
Divide a vector by a scalar
| a | Vector operand |
| f | Scalar operand |
Divide a vector by a scalar
| a | Vector operand |
| f | Scalar operand |
| result | Result of the division |
Divides a vector by a scalar.
| vector | Left operand. |
| scale | Right operand. |
|
static |
Divides a vector by a scalar.
| vector | Left operand. |
| scale | Right operand. |
| result | Result of the operation. |
Divides a vector by the components of a vector (scale).
| vector | Left operand. |
| scale | Right operand. |
|
static |
Divide a vector by the components of a vector (scale).
| vector | Left operand. |
| scale | Right operand. |
| result | Result of the operation. |
Calculate the dot (scalar) product of two vectors
| left | First operand |
| right | Second operand |
Calculate the dot (scalar) product of two vectors
| left | First operand |
| right | Second operand |
| result | The dot product of the two inputs |
| override bool OpenTK.Vector3d.Equals | ( | object | obj | ) |
Indicates whether this instance and a specified object are equal.
| obj | The object to compare to. |
| bool OpenTK.Vector3d.Equals | ( | Vector3d | other | ) |
Indicates whether the current vector is equal to another vector.
| other | A vector to compare with this vector. |
| override int OpenTK.Vector3d.GetHashCode | ( | ) |
Returns the hashcode for this instance.
Returns a new Vector that is the linear blend of the 2 given Vectors
| a | First input vector |
| b | Second input vector |
| blend | The blend factor. a when blend=0, b when blend=1. |
|
static |
Returns a new Vector that is the linear blend of the 2 given Vectors
| a | First input vector |
| b | Second input vector |
| blend | The blend factor. a when blend=0, b when blend=1. |
| result | a when blend=0, b when blend=1, and a linear combination otherwise |
| void OpenTK.Vector3d.Mult | ( | double | f | ) |
Multiply this instance by a scalar.
| f | Scalar operand. |
Multiply a vector and a scalar
| a | Vector operand |
| f | Scalar operand |
Multiply a vector and a scalar
| a | Vector operand |
| f | Scalar operand |
| result | Result of the multiplication |
Multiplies a vector by a scalar.
| vector | Left operand. |
| scale | Right operand. |
|
static |
Multiplies a vector by a scalar.
| vector | Left operand. |
| scale | Right operand. |
| result | Result of the operation. |
Multiplies a vector by the components a vector (scale).
| vector | Left operand. |
| scale | Right operand. |
|
static |
Multiplies a vector by the components of a vector (scale).
| vector | Left operand. |
| scale | Right operand. |
| result | Result of the operation. |
| void OpenTK.Vector3d.Normalize | ( | ) |
Scales the Vector3d to unit length.
Scale a vector to unit length
| vec | The input vector |
Scale a vector to unit length
| vec | The input vector |
| result | The normalized vector |
| Vector3d OpenTK.Vector3d.Normalized | ( | ) |
Returns a copy of the Vector3d scaled to unit length.
| void OpenTK.Vector3d.NormalizeFast | ( | ) |
Scales the Vector3d to approximately unit length.
Scale a vector to approximately unit length
| vec | The input vector |
Scale a vector to approximately unit length
| vec | The input vector |
| result | The normalized vector |
Converts OpenTK.Vector3d to OpenTK.Vector3.
| v3d | The Vector3d to convert. |
Converts OpenTK.Vector3 to OpenTK.Vector3d.
| v3 | The Vector3 to convert. |
Compares two instances for inequality.
| left | The first instance. |
| right | The second instance. |
Multiplies an instance by a scalar.
| vec | The instance. |
| scale | The scalar. |
Multiplies an instance by a scalar.
| scale | The scalar. |
| vec | The instance. |
Multiplies an instance by a matrix.
| scale | The scalar. |
| vec | The matrix. |
Multiplies an instance by a matrix.
| vec | The matrix. |
| scale | The scalar. |
Adds two instances.
| left | The first instance. |
| right | The second instance. |
Subtracts two instances.
| left | The first instance. |
| right | The second instance. |
Negates an instance.
| vec | The instance. |
Divides an instance by a scalar.
| vec | The instance. |
| scale | The scalar. |
Compares two instances for equality.
| left | The first instance. |
| right | The second instance. |
| void OpenTK.Vector3d.Scale | ( | double | sx, |
| double | sy, | ||
| double | sz | ||
| ) |
Scales the current Vector3d by the given amounts.
| sx | The scale of the X component. |
| sy | The scale of the Y component. |
| sz | The scale of the Z component. |
| void OpenTK.Vector3d.Scale | ( | Vector3d | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
| void OpenTK.Vector3d.Scale | ( | ref Vector3d | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
| void OpenTK.Vector3d.Sub | ( | Vector3d | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
| void OpenTK.Vector3d.Sub | ( | ref Vector3d | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
Subtract one Vector from another
| a | First operand |
| b | Second operand |
Subtract one Vector from another
| a | First operand |
| b | Second operand |
| result | Result of subtraction |
Subtract one Vector from another
| a | First operand |
| b | Second operand |
Subtract one Vector from another
| a | First operand |
| b | Second operand |
| result | Result of subtraction |
| override string OpenTK.Vector3d.ToString | ( | ) |
Returns a System.String that represents the current Vector3.
Transform a Vector by the given Matrix
| vec | The vector to transform |
| mat | The desired transformation |
|
static |
Transform a Vector by the given Matrix
| vec | The vector to transform |
| mat | The desired transformation |
| result | The transformed vector |
|
static |
Transforms a vector by a quaternion rotation.
| vec | The vector to transform. |
| quat | The quaternion to rotate the vector by. |
|
static |
Transforms a vector by a quaternion rotation.
| vec | The vector to transform. |
| quat | The quaternion to rotate the vector by. |
| result | The result of the operation. |
Transform a Normal by the given Matrix
This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation
| norm | The normal to transform |
| mat | The desired transformation |
|
static |
Transform a Normal by the given Matrix
This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation
| norm | The normal to transform |
| mat | The desired transformation |
| result | The transformed normal |
Transform a Normal by the (transpose of the) given Matrix
This version doesn't calculate the inverse matrix. Use this version if you already have the inverse of the desired transform to hand
| norm | The normal to transform |
| invMat | The inverse of the desired transformation |
|
static |
Transform a Normal by the (transpose of the) given Matrix
This version doesn't calculate the inverse matrix. Use this version if you already have the inverse of the desired transform to hand
| norm | The normal to transform |
| invMat | The inverse of the desired transformation |
| result | The transformed normal |
Transform a Position by the given Matrix
| pos | The position to transform |
| mat | The desired transformation |
|
static |
Transform a Position by the given Matrix
| pos | The position to transform |
| mat | The desired transformation |
| result | The transformed position |
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.
| vec | The vector to transform |
| mat | The desired transformation |
|
static |
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.
| vec | The vector to transform |
| mat | The desired transformation |
| result | The transformed vector |
Defines an instance with all components set to 1.
|
static |
Defines the size of the Vector3d struct in bytes.
Defines a unit-length Vector3d that points towards the X-axis.
Defines a unit-length Vector3d that points towards the Y-axis.
/// Defines a unit-length Vector3d that points towards the Z-axis.
| double OpenTK.Vector3d.X |
The X component of the Vector3.
| double OpenTK.Vector3d.Y |
The Y component of the Vector3.
| double OpenTK.Vector3d.Z |
The Z component of the Vector3.
Defines a zero-length Vector3.
|
get |
|
get |
Gets an approximation of the vector length (magnitude).
This property uses an approximation of the square root function to calculate vector magnitude, with an upper error bound of 0.001.
|
get |
Gets the square of the vector length (magnitude).
This property avoids the costly square root operation required by the Length property. This makes it more suitable for comparisons.
|
getset |
Gets or sets the value at the index of the Vector.
|
getset |
Gets or sets an OpenTK.Vector2d with the X and Y components of this instance.
|
getset |
Gets or sets an OpenTK.Vector2d with the X and Z components of this instance.
|
getset |
Gets or sets an OpenTK.Vector3d with the X, Z, and Y components of this instance.
|
getset |
Gets or sets an OpenTK.Vector2d with the Y and X components of this instance.
|
getset |
Gets or sets an OpenTK.Vector3d with the Y, X, and Z components of this instance.
|
getset |
Gets or sets an OpenTK.Vector2d with the Y and Z components of this instance.
|
getset |
Gets or sets an OpenTK.Vector3d with the Y, Z, and X components of this instance.
|
getset |
Gets or sets an OpenTK.Vector2d with the Z and X components of this instance.
|
getset |
Gets or sets an OpenTK.Vector3d with the Z, X, and Y components of this instance.
|
getset |
Gets or sets an OpenTK.Vector2d with the Z and Y components of this instance.
|
getset |
Gets or sets an OpenTK.Vector3d with the Z, Y, and X components of this instance.