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
Get the 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 methodEquals(Vector3, Double)
check whether another vector is equal to this vector within a given tolerance.
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
Determines whether the vector is small.
Public methodMakePerpendicularTo
Makes this vector perpendicular to the given vector. Result is not unitized.
Public methodStatic membermeanSquaredLength
Gets 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
Rotates vector by an angle about a given axis.
Public methodStatic memberScaleVectors
Scales the vectors in a list by a given factor and returns the new list.
Public methodToDeg
Convert angle in radians to degree.
Public methodToPoint3
Converts to Point3.
Public methodToRad
Convert angle in degree to radians.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodTransform(Plane3)
Transform vector to local coordinate system of given plane.
Public methodTransform(Transform3)
Transform vector.
Public methodStatic memberTransform(Vector3, Quaternion)
Transforms a vector by the given Quaternion rotation value.
Public methodUnitize
Normalizes a vector.
Public methodStatic memberVectorAngle
Compute the angle between two vectors.

This operation is commutative.

Top
Extension Methods
  NameDescription
Public Extension MethodConvert
Converts to Rhino's Vector3d.
(Defined by ToRhino.)
Public Extension MethodConvertToFebVec3dOverloaded.
Converts to Vec3d.
(Defined by ToFeb.)
Public Extension MethodConvertToFebVec3d(Boolean)Overloaded.
Converts to Vec3d.
(Defined by ToFeb.)
Top
See Also