Click or drag to resize
DigitalRuneVectorF Methods

The VectorF type exposes the following members.

Methods
  NameDescription
Public methodAbsolute
Sets each vector element to its absolute value.
Public methodStatic memberAbsolute(VectorF)
Returns a vector with the absolute values of the elements of the given vector.
Public methodStatic memberAdd
Adds two vectors.
Public methodStatic memberAreNumericallyEqual(VectorF, VectorF)
Determines whether two vectors are equal (regarding the tolerance EpsilonF).
Public methodStatic memberAreNumericallyEqual(VectorF, VectorF, Single)
Determines whether two vectors are equal (regarding a specific tolerance).
Public methodClamp(Single, Single)
Clamps the vector elements to the range [min, max].
Public methodStatic memberClamp(VectorF, Single, Single)
Returns a vector with the vector elements clamped to the range [min, max].
Public methodClampToZero
Clamps near-zero vector elements to zero.
Public methodClampToZero(Single)
Clamps near-zero vector elements to zero.
Public methodStatic memberClampToZero(VectorF)
Returns a vector with near-zero vector elements clamped to 0.
Public methodStatic memberClampToZero(VectorF, Single)
Returns a vector with near-zero vector elements clamped to 0.
Public methodClone
Clones this instance.
Public methodStatic memberDivide(VectorF, VectorF)
Divides the elements of a vector by the elements of another vector.
Public methodStatic memberDivide(VectorF, Single)
Divides a vector by a scalar.
Public methodStatic memberDot
Returns the dot product of two vectors.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ObjectEquals(Object).)
Public methodEquals(VectorF)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Protected methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetSchema
This property is reserved, apply the XmlSchemaProviderAttribute to the class instead.
Public methodGetSubvector
Gets a subvector of this vector.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMax
Returns a vector that contains the highest value from each matching pair of components.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMin
Returns a vector that contains the lowest value from each matching pair of elements.
Public methodStatic memberMultiply(Single, VectorF)
Multiplies a vector by a scalar.
Public methodStatic memberMultiply(VectorF, VectorF)
Multiplies the components of two vectors by each other.
Public methodStatic memberNegate
Negates a vector.
Public methodNormalize
Normalizes the vector.
Public methodProjectTo(VectorF)
Sets this vector to its projection onto the axis given by the target vector.
Public methodStatic memberProjectTo(VectorF, VectorF)
Projects a vector onto an axis given by the target vector.
Public methodReadXml
Generates an object from its XML representation.
Public methodSet(IListSingle)
Sets the vector elements to the values of the list.
Public methodSet(Single)
Sets all vector elements to the specified value.
Public methodSet(Single)
Sets the vector elements to the values of the array.
Public methodSet(VectorF)
Sets this instance to a copy of the specified vector.
Public methodSetSubvector
Sets a subvector of this instance.
Public methodStatic memberSubtract
Subtracts a vector from a vector.
Public methodToArray
Converts this vector to an array of float values.
Public methodToList
Converts this vector to a list of float values.
Public methodToMatrixF
Converts this VectorF to MatrixF.
Public methodToString
Returns the string representation of this vector.
(Overrides ObjectToString.)
Public methodToString(IFormatProvider)
Returns the string representation of this vector using the specified culture-specific format information.
Public methodToVector2F
Converts this VectorF to Vector2F.
Public methodToVector3F
Converts this VectorF to Vector3F.
Public methodToVector4F
Converts this VectorF to Vector4F.
Public methodToVectorD
Converts this VectorF to VectorD.
Public methodTryNormalize
Tries to normalize the vector.
Public methodWriteXml
Converts an object into its XML representation.
Top
See Also