z method

double z()

Gets the acceleration on the z-axis @return Z-axis acceleration

Implementation

double z() {
  return vector[2];
}