getVector2dAtCheckedVectorIndex Method
Access by index, returning strongly typed Vector2d
getVector2dAtCheckedVectorIndex(index: number, result?: Vector2d): undefined | Vector2d
@returns undefined if the index is out of bounds
Parameter | Type | Description |
---|---|---|
index | number | index of point within the array |
result | Vector2d | caller-allocated destination |
Returns - undefined | Vector2d
undefined if the index is out of bounds
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.