getPoint2dAtCheckedPointIndex Method

Access by index, returning strongly typed Point2d

  • This returns the xy value but NOT reference to the point in the "carried" array.

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

@returns undefined if the index is out of bounds

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: 09 May, 2026