what is the two main parts of geometry