Spatial geometry library. Google Closure friendly