crossProductXYAndZIndexIndex Method
Return the cross product of vectors from origin to points at indexA and indexB
crossProductXYAndZIndexIndex(origin: Readonly<WritableXYAndZ>, indexA: number, indexB: number, result?: Vector3d): undefined | Vector3d
Parameter | Type | Description |
---|---|---|
origin | Readonly<WritableXYAndZ> | 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 - undefined | Vector3d
undefined if either index is out of bounds
Defined in
- geometry3d/Point3dArrayCarrier.ts Line 122
Last Updated: 30 November, 2023