cloned from https://code.google.com/p/s2-geometry-library/