sextant

an instrument used by navigators for measuring the angular distance of the sun, a star, etc., from the horizon, as in finding the position of a ship.