API Reference > geometry-core > ArraysAndInterfaces > GrowableXYArray > ensureCapacity ensureCapacity Method If necessary, increase the capacity to a new pointCount. Current coordinates and point count (length) are unchanged. ensureCapacity(pointCapacity: number): void Parameter Type Description pointCapacity number Returns - void Defined in geometry3d/GrowableXYArray.ts Line 69 Last Updated: 12 June, 2024