CoordinateParameters: [number, number] | [number, number, number] | [Vector3]

Possible values to set a Coordinates object.

It can be:

  • A pair of numbers for 2D coordinates [X, Y]
  • A triplet of numbers for 3D coordinates [X, Y, Z]
  • A THREE Vector3
new Coordinates('EPSG:4978', 20885167, 849862, 23385912); //Geocentric coordinates
// or
new Coordinates('EPSG:4978', new Vector3(20885167, 849862, 23385912)) // Same with a vector.
// or
new Coordinates('EPSG:4326', 2.33, 48.24, 24999549); //Geographic coordinates