Vector Interface |
The Vector type exposes the following members.
| Name | Description | |
|---|---|---|
| X | Gets and sets the X component value. | |
| Y | Gets and sets the Y component value. | |
| Z | Gets and sets the Z component value. |
| Name | Description | |
|---|---|---|
| AngleTo | Calculates the angle between this vector and the specified vector. | |
| AsUnitVector | Creates a normalized unit vector from this vector (length equal to 1.0). | |
| Copy | Creates an independent copy of this vector. The returned vector is entirely independent and can be edited without affecting this instance. | |
| CrossProduct | Calculates the cross product between this vector and the specified vector. | |
| DotProduct | Calculates the dot product between this vector and the specified vector. | |
| IsEqualTo | Compares this vector for equality with the specified vector and tolerance. | |
| IsParallelTo | Determines whether this vector is parallel to the specified vector. | |
| IsPerpendicularTo | Determines whether this vector is perpendicular to the specified vector. | |
| IsSameDirection | Determines whether this vector points in the same direction as the specified vector. | |
| Normalize | Normalizes this vector to a length equal to 1.0. | |
| RotationAroundZAxis | Rotates this vector by the specified angle around the Z axis. | |
| ScaleBy | Scales this vector by the specified scale factor. | |
| ToReferenceCoordinateSystem | Transforms this vector to the reference coordinate system. | |
| TransformBy | Transforms this vector by the specified transformation matrix. | |
| TranslateBy | Translates this vector by the specified vector. |