Skip to main content

Vector3D Methods

Methods

Abs()Returns a vector whose elements are the absolute values of each of the specified vector's elements.
Add(Vector3D, Vector3D)Adds the second to the first vector
Clamp(Vector3D, Vector3D, Vector3D)Restricts a vector between a minimum and a maximum value.
Distance(Vector3D, Vector3D)Computes the Euclidean distance between the two given points.
DistanceSquared(Vector3D, Vector3D)Computes the squared Euclidean distance between the two given points.
Divide(Vector3D, Vector3D)Divides the first vector by the second.
Divide(Vector3D, Double)Divides the vector by the given scalar.
Dot(Vector3D, Vector3D)Calculates the dot product of two vectors.
GetType()Gets the Type of the current instance.
(Inherited from Object)
Max(Vector3D, Vector3D)Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors
Min(Vector3D, Vector3D)Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors
Multiply(Vector3D, Vector3D)Multiplies the first vector by the second.
Multiply(Vector3D, Double)Multiplies the vector by the given scalar.
Normalize(Vector3D)Returns a normalized version of this vector.
Parse(String)Parses a Vector string.
Substract(Vector3D, Vector3D)Subtracts the second from the first vector

See Also

Reference

Vector3D Structure
Avalonia Namespace