API Reference > geometry-core > Curve > LineSegment3d > createXYZXYZ createXYZXYZ MethodStatic create a LineSegment3d from xy coordinates of start and end, with common z. createXYZXYZ(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, result?: LineSegment3d): LineSegment3d Parameter Type Description x0 number start point x coordinate. y0 number start point y coordinate. z0 number x1 number end point x coordinate. y1 number end point y coordinate. z1 number result LineSegment3d optional existing LineSegment to be reinitialized. Returns - LineSegment3d Defined in core/geometry/src/curve/LineSegment3d.ts Line 146 Last Updated: 13 June, 2024