crossProductIndexIndexXYAndZ Method
Return the cross product of the vectors from origin to the point at indexA and to targetB.
crossProductIndexIndexXYAndZ(origin: number, indexA: number, targetB: XYAndZ, result?: Vector3d): Vector3d | undefined
@returns undefined if an index is out of bounds.
| Parameter | Type | Description |
|---|---|---|
| origin | number | index of point within the array; origin of both vectors. |
| indexA | number | index of point within the array; target of the first vector. |
| targetB | XYAndZ | target of second vector. |
| result | Vector3d | optional caller-allocated result to fill and return. |
Returns - Vector3d | undefined
undefined if an index is out of bounds.
Defined in
- geometry3d/IndexedXYZCollection.ts Line 190
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.