Any line has a length and direction that can be measured using instruments like a chain, tape, or theodolite. A compass is used to measure direction with reference to magnetic north. There are two main types of compasses: the prismatic compass and the surveyor's compass. A compass contains a magnetic needle that points to magnetic north and allows the user to determine bearings by aligning the needle with an orienting arrow on a rotating housing marked with degrees.