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

Last Updated: 12 June, 2024