length method

double length()

Implementation

double length() {
  return Math.sqrt(x * x + y * y + z * z);
}