The z value is defined in terms of origin, (from the earth's centre or from a vertical datum), and the types of units being used.