Sym3Vec3

Represents a point in three dimensional space.

Constructor

constructor(x: number, y: number, z: number)

Constructs a new Sym3Vec3 with the X,Y, and Z fields set appropriately.

Fields

  • X (number): The X component of this coordinate.
  • Y (number): The Y component of this coordinate.
  • Z (number): The Z component of this coordinate.

Example

Construct a new Sym3Vec3 and set its Z component to 17.

let v = new Sym3Vec3(3, 5, 6);
v.Z = 17;