Take a look at the method source. It translates the position into relative coordinates.