Click or drag to resize
Accord.NET (logo)

Vector3 Methods

The Vector3 type exposes the following members.

Methods
  NameDescription
Public methodAbs
Calculate absolute values of the vector.
Public methodStatic memberAdd(Vector3, Vector3)
Adds corresponding coordinates of two vectors.
Public methodStatic memberAdd(Vector3, Single)
Adds a value to all coordinates of the specified vector.
Public methodStatic memberCross
Calculates cross product of two vectors.
Public methodStatic memberDivide(Vector3, Vector3)
Divides corresponding coordinates of two vectors.
Public methodStatic memberDivide(Vector3, Single)
Divides coordinates of the specified vector by the specified factor.
Public methodStatic memberDot
Calculates dot product of two vectors.
Public methodEquals(Object)
Tests whether the vector equals to the specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Tests whether the vector equals to the specified one.
Public methodGetHashCode
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverse
Inverse the vector.
Public methodStatic memberMultiply(Vector3, Vector3)
Multiplies corresponding coordinates of two vectors.
Public methodStatic memberMultiply(Vector3, Single)
Multiplies coordinates of the specified vector by the specified factor.
Public methodNormalize
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
Public methodStatic memberSubtract(Vector3, Vector3)
Subtracts corresponding coordinates of two vectors.
Public methodStatic memberSubtract(Vector3, Single)
Subtracts a value from all coordinates of the specified vector.
Public methodToArray
Returns array representation of the vector.
Public methodToString
Returns a string representation of this object.
(Overrides ValueTypeToString.)
Public methodToVector4
Converts the vector to a 4D vector.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also