createFromPoint MethodStatic

Create a Point4d from

  • Point2d, Point3d, or Point4d
  • other structure with members x,y and optional z,w
  • array of numbers
  • default z is 0.0
  • default 2 is 1.0 (array[3] can replace)

createFromPoint(point: number[] | Point4d | Readonly<WritableXAndY> | Readonly<WritableXYAndZ>): Point4d

Parameter Type Description
point number[] | Point4d | Readonly<WritableXAndY> | Readonly<WritableXYAndZ>  

Returns - Point4d

Defined in

Last Updated: 11 June, 2024