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