getVector2dAtCheckedVectorIndex MethodAbstract
Get from index
as a Vector2d
getVector2dAtCheckedVectorIndex(index: number, result?: Vector2d): Vector2d | undefined
Parameter | Type | Description |
---|---|---|
index | number | index of point within the array |
result | Vector2d | optional caller-allocated destination |
Returns - undefined if the index is out of bounds
Defined in
Last Updated: 08 January, 2020