fromJSON MethodStatic

Convert json to Point3d. Accepted forms are:

  • [1,2,3] --- array of numbers
  • array of numbers: [x,y,z]
  • object with x,y, and (optional) z as numeric properties {x: xValue, y: yValue, z: zValue}

fromJSON(json?: XYZProps): Point3d

Parameter Type Description
json XYZProps json value.

Returns - Point3d

Defined in

Last Updated: 23 November, 2024