getPolygonPoint Method

Return a point of the polygon as a simple array.

getPolygonPoint(i: number, buffer?: Float64Array): undefined | Float64Array

@returns point as simple array of length blockSize, or undefined if index out of range.

Parameter Type Description
i number index of desired point
buffer Float64Array optional destination of length blockSize. If insufficient length, a new array is returned.

Returns - undefined | Float64Array

point as simple array of length blockSize, or undefined if index out of range.

Defined in

Last Updated: 23 November, 2024