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: Readonly<WritableXYAndZ>, result?: Vector3d): undefined | Vector3d
@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 | Readonly<WritableXYAndZ> | target of second vector | 
| result | Vector3d | optional caller-allocated result to fill and return | 
Returns - undefined | Vector3d
undefined if an index is out of bounds
Defined in
- geometry3d/IndexedXYZCollection.ts Line 146
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.