First commit, only does great circle and polygon containment