create With Z
Return a copy of a geometry with the supplied z-coordinate. If the given geometry already has z-coordinates, they are replaced within the resulting geometry by the supplied value. The resulting geometry has Geometry.hasZ true. If the z-coordinate supplied is null, then the geometry's z-coordinate will be removed, and the resulting geometry has Geometry.hasZ false.
Supports true curves.
Return
A copy of the given geometry with its z-coordinates set to the supplied value.
Since
200.1.0
Parameters
geometry
The geometry from which to create the new geometry.
z
The z value for the new geometry or null if the new geometry should not have a z value.