| VectorD Methods |
The VectorD type exposes the following members.
| Name | Description | |
|---|---|---|
| Absolute |
Sets each vector element to its absolute value.
| |
| Absolute(VectorD) |
Returns a vector with the absolute values of the elements of the given vector.
| |
| Add |
Adds two vectors.
| |
| AreNumericallyEqual(VectorD, VectorD) |
Determines whether two vectors are equal (regarding the tolerance
EpsilonD).
| |
| AreNumericallyEqual(VectorD, VectorD, Double) |
Determines whether two vectors are equal (regarding a specific tolerance).
| |
| Clamp(Double, Double) |
Clamps the vector elements to the range [min, max].
| |
| Clamp(VectorD, Double, Double) |
Returns a vector with the vector elements clamped to the range [min, max].
| |
| ClampToZero |
Clamps near-zero vector elements to zero.
| |
| ClampToZero(Double) |
Clamps near-zero vector elements to zero.
| |
| ClampToZero(VectorD) |
Returns a vector with near-zero vector elements clamped to 0.
| |
| ClampToZero(VectorD, Double) |
Returns a vector with near-zero vector elements clamped to 0.
| |
| Clone |
Clones this instance.
| |
| Divide(VectorD, VectorD) |
Divides the elements of a vector by the elements of another
vector.
| |
| Divide(VectorD, Double) |
Divides a vector by a scalar.
| |
| Dot |
Returns the dot product of two vectors.
| |
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ObjectEquals(Object).) | |
| Equals(VectorD) |
Indicates whether the current object is equal to another object of the same type.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.) | |
| GetObjectData |
Populates a SerializationInfo with the data needed to serialize the target
object.
| |
| GetSchema |
This property is reserved, apply the XmlSchemaProviderAttribute to the class
instead.
| |
| GetSubvector |
Gets a subvector of this vector.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Max |
Returns a vector that contains the highest value from each matching pair of components.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Min |
Returns a vector that contains the lowest value from each matching pair of elements.
| |
| Multiply(Double, VectorD) |
Multiplies a vector by a scalar.
| |
| Multiply(VectorD, VectorD) |
Multiplies the components of two vectors by each other.
| |
| Negate |
Negates a vector.
| |
| Normalize |
Normalizes the vector.
| |
| ProjectTo(VectorD) |
Sets this vector to its projection onto the axis given by the target vector.
| |
| ProjectTo(VectorD, VectorD) |
Projects a vector onto an axis given by the target vector.
| |
| ReadXml |
Generates an object from its XML representation.
| |
| Set(IListDouble) |
Sets the vector elements to the values of the list.
| |
| Set(Double) |
Sets all vector elements to the specified value.
| |
| Set(Double) |
Sets the vector elements to the values of the array.
| |
| Set(VectorD) |
Sets this instance to a copy of the specified vector.
| |
| SetSubvector |
Sets a subvector of this instance.
| |
| Subtract |
Subtracts a vector from a vector.
| |
| ToArray |
Converts this vector to an array of double values.
| |
| ToList |
Converts this vector to a list of double values.
| |
| ToMatrixD | ||
| ToString |
Returns the string representation of this vector.
(Overrides ObjectToString.) | |
| ToString(IFormatProvider) |
Returns the string representation of this vector using the specified culture-specific format
information.
| |
| ToVector2D | ||
| ToVector3D | ||
| ToVector4D | ||
| ToVectorF | ||
| TryNormalize |
Tries to normalize the vector.
| |
| WriteXml |
Converts an object into its XML representation.
|