API Reference > geometry-core > Curve > LineSegment3d > toJSON toJSON Method Place the lineSegment3d start and points in a json object toJSON(): any Returns - [[x,y,z],[x,y,z]] Defined in curve/LineSegment3d.ts Last Updated: 08 January, 2020