API Reference > geometry-core > CartesianGeometry > XYZ > setFrom setFrom Method Set the x,y,z parts from one of these input types XYZ -- copy the x,y,z parts Float64Array -- Copy from indices 0,1,2 to x,y,z XY -- copy the x, y parts and set z=0 setFrom(other: Float64Array | XAndY | XYAndZ | undefined): void Parameter Type Description other Float64Array | XAndY | XYAndZ | undefined Returns - void Defined in core/geometry/src/geometry3d/Point3dVector3d.ts Line 99 Last Updated: 13 June, 2024