crossProductXAndYIndexIndex MethodAbstract
Return the cross product of vectors from origin
to points at indexA
and indexB
crossProductXAndYIndexIndex(origin: Readonly<WritableXAndY>, indexA: number, indexB: number): undefined | number
@returns undefined if either index is out of bounds
Parameter | Type | Description |
---|---|---|
origin | Readonly<WritableXAndY> | origin for vector |
indexA | number | index of first target within the array |
indexB | number | index of second target within the array |
Returns - undefined | number
undefined if either index is out of bounds
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.