A relation to define the Z coordinate of a relative position