API Reference > geometry-core > Curve > LineSegment3d > fromJSON fromJSON MethodStatic Create a new LineSegment3d with coordinates from json object. See setFromJSON for object layout description. fromJSON(json?: any): LineSegment3d Parameter Type Description json any Returns - LineSegment3d Defined in curve/LineSegment3d.ts Line 266 Last Updated: 12 June, 2024