ensureCapacity Method

If necessary, increase the capacity to a new pointCount. Current coordinates and point count (length) are unchanged.

ensureCapacity(pointCapacity: number, applyGrowthFactor: boolean = true): void

Parameter Type Description
pointCapacity number  
applyGrowthFactor boolean  

Returns - void

Defined in

Last Updated: 20 June, 2023