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 core/geometry/src/curve/LineSegment3d.ts Line 262 Last Updated: 13 June, 2024