VectorF Methods |
The VectorF type exposes the following members.
Name | Description | |
---|---|---|
Absolute |
Sets each vector element to its absolute value.
| |
Absolute(VectorF) |
Returns a vector with the absolute values of the elements of the given vector.
| |
Add |
Adds two vectors.
| |
AreNumericallyEqual(VectorF, VectorF) |
Determines whether two vectors are equal (regarding the tolerance
EpsilonF).
| |
AreNumericallyEqual(VectorF, VectorF, Single) |
Determines whether two vectors are equal (regarding a specific tolerance).
| |
Clamp(Single, Single) |
Clamps the vector elements to the range [min, max].
| |
Clamp(VectorF, Single, Single) |
Returns a vector with the vector elements clamped to the range [min, max].
| |
ClampToZero |
Clamps near-zero vector elements to zero.
| |
ClampToZero(Single) |
Clamps near-zero vector elements to zero.
| |
ClampToZero(VectorF) |
Returns a vector with near-zero vector elements clamped to 0.
| |
ClampToZero(VectorF, Single) |
Returns a vector with near-zero vector elements clamped to 0.
| |
Clone |
Clones this instance.
| |
Divide(VectorF, VectorF) |
Divides the elements of a vector by the elements of another
vector.
| |
Divide(VectorF, Single) |
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(VectorF) |
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(Single, VectorF) |
Multiplies a vector by a scalar.
| |
Multiply(VectorF, VectorF) |
Multiplies the components of two vectors by each other.
| |
Negate |
Negates a vector.
| |
Normalize |
Normalizes the vector.
| |
ProjectTo(VectorF) |
Sets this vector to its projection onto the axis given by the target vector.
| |
ProjectTo(VectorF, VectorF) |
Projects a vector onto an axis given by the target vector.
| |
ReadXml |
Generates an object from its XML representation.
| |
Set(IListSingle) |
Sets the vector elements to the values of the list.
| |
Set(Single) |
Sets all vector elements to the specified value.
| |
Set(Single) |
Sets the vector elements to the values of the array.
| |
Set(VectorF) |
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 float values.
| |
ToList |
Converts this vector to a list of float values.
| |
ToMatrixF | ||
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.
| |
ToVector2F | ||
ToVector3F | ||
ToVector4F | ||
ToVectorD | ||
TryNormalize |
Tries to normalize the vector.
| |
WriteXml |
Converts an object into its XML representation.
|