Click or drag to resize

Vector Methods

The Vector type exposes the following members.

Methods
 NameDescription
Public methodAngleTo Calculates the angle between this vector and the specified vector.
Public methodAsUnitVector Creates a normalized unit vector from this vector (length equal to 1.0).
Public methodCopy Creates an independent copy of this vector. The returned vector is entirely independent and can be edited without affecting this instance.
Public methodCrossProduct Calculates the cross product between this vector and the specified vector.
Public methodDotProduct Calculates the dot product between this vector and the specified vector.
Public methodIsEqualTo Compares this vector for equality with the specified vector and tolerance.
Public methodIsParallelTo Determines whether this vector is parallel to the specified vector.
Public methodIsPerpendicularTo Determines whether this vector is perpendicular to the specified vector.
Public methodIsSameDirection Determines whether this vector points in the same direction as the specified vector.
Public methodNormalize Normalizes this vector to a length equal to 1.0.
Public methodRotationAroundZAxis Rotates this vector by the specified angle around the Z axis.
Public methodScaleBy Scales this vector by the specified scale factor.
Public methodToReferenceCoordinateSystem Transforms this vector to the reference coordinate system.
Public methodTransformBy Transforms this vector by the specified transformation matrix.
Public methodTranslateBy Translates this vector by the specified vector.
Top
See Also