src/Elements/Geometry/Vector3.cs
/// <summary>
/// Determine whether this vector is parallel to v.
/// </summary>
/// <param name="v">The vector to compare to this vector.</param>
/// <returns>True if the vectors are parallel, otherwise false.</returns>
Determine whether this vector is parallel to v.
Determine whether this vector is parallel to v .
public bool IsParallelTo(Vector3 v)
        {
            var result = Math.Abs(this.Unitized().Dot(v.Unitized()));
            return result.ApproximatelyEquals(1);
        }
public bool IsParallelTo ( Vector3 v ) { var result = Math . Abs ( this . Unitized ( ) . Dot ( v . Unitized ( ) ) ) ; return result . ApproximatelyEquals ( 1 ) ; }
Determine whether this vector is parallel to v.
Determine whether this vector is parallel to v .
True if the vectors are parallel, otherwise false.
True if the vectors are parallel otherwise false .
v
Vector3
The vector to compare to this vector.
The vector to compare to this vector .