API Reference > geometry-core > ArraysAndInterfaces > GrowableXYZArray > 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/GrowableXYZArray.ts Line 68 Last Updated: 11 June, 2024