crossProductXYAndZIndexIndex MethodAbstract

Return the cross product of the vectors from origin to points at indexA and indexB.

crossProductXYAndZIndexIndex(origin: XYAndZ, indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined

@returns undefined if either index is out of bounds.

Parameter Type Description
origin XYAndZ origin for vector.
indexA number index of first target within the array.
indexB number index of second target within the array.
result Vector3d caller-allocated vector.

Returns - Vector3d | undefined

undefined if either index is out of bounds.

Defined in

Last Updated: 28 April, 2026