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 core/geometry/src/geometry3d/GrowableXYArray.ts Line 69 Last Updated: 15 June, 2021