Click or drag to resize

Vector3 Methods

The Vector3 type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
compares this to other vector based on the distance to the origin
Public methodStatic memberCross
cross product of two vectors
Public methodStatic memberCrossProduct
Compute cross product.
Public methodStatic memberDot
Compute dot product.
Public methodStatic memberDotProduct
Compute dot product.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
check whether another vector is equal to this vector
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsTiny
Determine whether the vector is small.
Public methodMakePerpendicularTo
Makes this vector perpendicular to the given vector. Result is not unitized.
Public methodStatic membermeanSquaredLength
return the mean squared length of vectors in a list
Public methodStatic memberMultiply(Vector3, Vector3)
form the dot-product of two vectors
Public methodStatic memberMultiply(Vector3, Double)
multiply a vector by a scalar
Public methodStatic memberNormalize
Returns a vector with the same direction as the given vector, but with a length of 1.
Public methodReverse
reverse the direction of a vector
Public methodRotate
rotate vector by an angle about a given axis
Public methodStatic memberScaleVectors
scale the vectors in a list by a given factor and return the new list
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodTransform(Transform3)
Transform vector.
Public methodStatic memberTransform(Vector3, Quaternion)
Transforms a vector by the given Quaternion rotation value.
Public methodUnitize
Normalize vector.
Public methodStatic memberVectorAngle
Compute the angle between two vectors.

This operation is commutative.

Top
Extension Methods
  NameDescription
Public Extension MethodConvert
Convert karamba vector to rhino vector.
(Defined by GeometryExtensions.)
Top
See Also