getZ method

double getZ()

Retrieves the value of the Z ordinate, if present. If no Z value is present returns NaN.

@return the value of the Z ordinate, or NaN

Implementation

double getZ() {
  return z;
}