﻿Vector3H Methods

# Vector3H Methods

The Vector3H type exposes the following members.

Methods
NameDescription
Abs
Returns a vector whose elements are the absolute values of each of the specified vector's components.
Acos
Calculates the arc-cosine of each component of the specified vector.
AllNonZero
Determines whether all components of a given vector are unequal to the zero.
AnyNonZero
Determines whether any component of a given vector is unequal to the zero.
Asin
Calculates the arc-sine of each component of the specified vector.
Atan
Calculates the arc-tangent of each component of the specified vector.
Atan2
Returns the vector which contains the angles in radians whose tangents are the quotient of the corresponding components in the first specified vector y and the second specified vector x.
Clamp
Restricts the current instance of Vector3H to be within a specified range and returns the clamped value.
Cos
Calculates the cosine of each component of the specified vector.
Cosh
Calculates the hyperbolic cosine of each component of the specified vector.
Cross(Vector3H)
Calculates the cross product of two vectors.
Cross(Vector3H, Vector3H)
Calculates the cross product of two vectors.
Cross(Vector3H, Vector3H)
Calculates the cross product of two vectors.
Cross(Vector3H, Vector3H, Vector3H)
Calculates the cross product of two vectors.
Distance(Vector3H, Vector3H)
Calculates the distance between two vectors.
Distance(Vector3H, Vector3H)
Calculates the distance between two vectors.
Divide(HalfType, Vector3H, Vector3H)
Divides a scalar by a vector.
Divide(Vector3H, HalfType, Vector3H)
Divides a vector by a given scalar.
Divide(Vector3H, Vector3H, Vector3H)
Divides the first vector by the second vector.
Dot(Vector3H)
Calculates the dot product of two vectors.
Dot(Vector3H)
Calculates the dot product of two vectors.
Dot(Vector3H, Vector3H)
Calculates the dot product of two vectors.
Dot(Vector3H, Vector3H)
Calculates the dot product of two vectors.
Equals(Object)
Determines whether the specified object is equal to the current instance of Vector3H.
(Overrides ValueTypeEquals(Object).)
Equals(Vector3H, HalfType)
Determines whether the specified vector is equal to the current instance of Vector3H with a given precision.
Equals(Vector3H, HalfType)
Determines whether the specified vector is equal to the current instance of Vector3H with a given precision.
Exp
Returns the vector which contains e raised to the power of n, where n is the corresponding component in the specified vector.
GetClamp
Restricts the current instance of Vector3H to be within a specified range and returns the clamped value.
GetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
GetNormalize
Converts the current instance of Vector3H into a unit vector and returns the normalized vector.
GetSaturate
Clamps the components of the current instance of Vector3H between 0 and 1 and returns the saturated value.
GetTruncate
Rounds a given vector towards zero for each component in it and returns the truncated vector.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Length
Calculates the length of the current instance of Vector3H.
LengthSquared
Calculates the squared length of the current instance of Vector3H.
Lerp(Vector3H, Vector3H, HalfType)
Performs a linear interpolation between two vectors based on the given weighting.
Lerp(Vector3H, Vector3H, HalfType, Vector3H)
Performs a linear interpolation between two vectors based on the given weighting.
Log
Calculates the natural logarithm of each component of the specified vector.
Log10
Calculates the base 10 logarithm of each component of the specified vector.
Max
Returns a vector containing the largest components of the specified vectors.
MaxComponent
Returns the value of the largest component of the current instance of Vector3H.
Min
Returns a vector containing the smallest components of the specified vectors.
MinComponent
Returns the value of the smallest component of the current instance of Vector3H.
Multiply(HalfType, Vector3H, Vector3H)
Multiplies a vector by a given scalar.
Multiply(Vector3H, HalfType, Vector3H)
Multiplies a vector by a given scalar.
Multiply(Vector3H, Vector3H, Vector3H)
Multiplies two vectors together.
Negate
Reverses the direction of a given vector.
Normalize
Converts the current instance of Vector3H into a unit vector.
Normalize(Vector3H)
Converts a vector into a unit vector.
Normalize(Vector3H, Vector3H)
Converts a vector into a unit vector.
Parse
Converts a string representation of a vector into the equivalent Vector3H structure.
Pow
Returns the vector which contains the components of the first specified vector raised to power of the numbers which are equal to the corresponding components of the second specified vector.
Saturate
Clamps the components of the current instance of Vector3H between 0 and 1.
Select
Chooses one of two vectors depending on the pick1 value.
Sin
Calculates the sine of each component of the specified vector.
Sinh
Calculates the hyperbolic sine of each component of the specified vector.
Sqrt
Calculates the square root of each component of the specified vector.
Subtract
Subtracts two vectors.
Tan
Calculates the tangent of each component of the specified vector.
Tanh
Calculates the hyperbolic tangent of each component of the specified vector.
ToString
Returns a String that represents the current instance of Vector3H.
(Overrides ValueTypeToString.)
ToString(Int32)
Returns a String that represents the current instance of Vector3H with a given precision.
ToVector2
Converts the current instance of Vector3H into an instance of Vector2F.
ToVector3
Converts the current instance of Vector3H into the equivalent Vector3 structure.
ToVector3F
Converts the current instance of Vector3H into the equivalent Vector3F structure.
ToVector3I
Converts the current instance of Vector3H into the equivalent Vector3I structure.
Truncate
Rounds the current instance of Vector3H towards zero for each component in a vector.
Top
Extension Methods
NameDescription
MethodInvoke
Calls the object method by name.
(Defined by ObjectEx.)
Gets the value of the object property by name.
(Defined by ObjectEx.)
Gets the value of the object property by name.
(Defined by ObjectEx.)
PropertySet
Sets the value of the object property by name.
(Defined by ObjectEx.)
Top