Point3D constructor

Point3D(
  1. double x,
  2. double y,
  3. double z
)

Constructs Point3D instance from the provided x,y and z values.

  • x Position along the X axis. The default value is 0.
  • y Position along the Y axis. The default value is 0.
  • z Position along the Z axis. The default value is 0.

Implementation

Point3D(this.x, this.y, this.z);