Coordinate.fromXYZ constructor

Coordinate.fromXYZ(
  1. double x,
  2. double y,
  3. double z
)

Constructs a Coordinate at (x,y,z).

@param x the x-ordinate @param y the y-ordinate @param z the z-ordinate

Implementation

Coordinate.fromXYZ(double x, double y, double z) {
  this.x = x;
  this.y = y;
  this.z = z;
}