API Reference > geometry-core > ArraysAndInterfaces > IndexedXYZCollection > crossProductIndexIndexIndex crossProductIndexIndexIndex MethodAbstract Return the cross product of vectors from origin to points at indexA and indexB crossProductIndexIndexIndex(origin: number, indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined Parameter Type Description origin number origin for vector indexA number index of first target within the array indexB number index of second target within the array result Vector3d optional caller-allocated vector. Returns - Vector3d | undefined undefined if either index is out of bounds Defined in core/geometry/src/geometry3d/IndexedXYZCollection.ts Line 103 Last Updated: 13 June, 2024