isParallelTo Method

Test if this vector is parallel to other.

isParallelTo(other: Vector3d, oppositeIsParallel: boolean = false, returnValueIfAnInputIsZeroLength: boolean = false): boolean

Parameter Type Description
other Vector3d second vector in comparison
oppositeIsParallel boolean if the vectors are on the same line but in opposite directions, return this value.
returnValueIfAnInputIsZeroLength boolean if either vector is near zero length, return this value.

Defined in

Last Updated: 08 January, 2020