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
- bspline/Bezier1dNd.ts Line 111
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.