dotProductUncheckedIndexIndexXYAndZ Method
Return the dot product of the vectors from the point at origin to the point at indexA and to targetB.
- This method does not check for index validity. Use dotProductIndexIndexXYAndZ to have validity test.
dotProductUncheckedIndexIndexXYAndZ(origin: number, indexA: number, targetB: Readonly<WritableXYAndZ>): number
| 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 for second vector. |
Returns - number
Defined in
- geometry3d/IndexedXYZCollection.ts Line 165
Last Updated: 13 December, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.