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
- curve/LineSegment3d.ts Line 177
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.