API Reference > geometry-core > ArraysAndInterfaces > GrowableXYZArray > create create MethodStatic Create an array from various point data formats. Valid inputs are: Point2d point3d An array of 2 doubles An array of 3 doubles A GrowableXYZArray Any json object satisfying Point3d.isXYAndZ Any json object satisfying Point3d.isXAndY A Float64Array of doubles, interpreted as xyzxyz An array of any of the above create(data: any, result?: GrowableXYZArray): GrowableXYZArray Parameter Type Description data any source points. result GrowableXYZArray optional pre-allocated GrowableXYZArray to clear and fill. Returns - GrowableXYZArray Defined in geometry3d/GrowableXYZArray.ts Line 126 Last Updated: 11 June, 2024