getPoint2dAtCheckedPointIndex Method

Access by index, returning strongly typed Point2d

getPoint2dAtCheckedPointIndex(index: number, result?: Point2d): Point2d | undefined

Parameter Type Description
index number index of point within the array
result Point2d caller-allocated destination

Returns - Point2d | undefined

undefined if the index is out of bounds

Defined in

Last Updated: 15 June, 2021