Co-ordinates for External Shading

When applying Co-ordinates for External Shading to my Window Surface, is the 'Z' co-ordinate the measurement from 0 to center of window surface?