geo - S2 geometry library in Go

  •        9

This is a library for manipulating geometric shapes. Unlike many geometry libraries, S2 is primarily designed to work with spherical geometry, i.e., shapes drawn on a sphere rather than on a planar 2D map. (In fact, the name S2 is derived from the mathematical notation for the unit sphere.) This makes it especially suitable for working with geographic data.Basic representations of angles, intervals, latitude-longitude points, unit 3D vectors, and conversions among them.



Related Projects

turf - A modular geospatial engine written in JavaScript

Turf is a JavaScript library for spatial analysis. It includes traditional spatial operations, helper functions for creating GeoJSON data, and data classification and statistics tools. Turf can be added to your website as a client-side plugin, or you can run Turf server-side with Node.js (see below).Download the minified file, and include it in a script tag. This will expose a global variable named turf.


A .NET class library written in Visual Basic 2010 for analytic geometry, particularly vectors and complex numbers.

Computational Geometry

A library of Computational Geometry algorithms such as convex hulls, Voronoi diagrams, line intersections, triangulations, and more; written in C#.

Geometry Visualizer 3D

GeometryViz3D allows students to create 3D geometry models that comprise points, lines, and vectors, and examine the model by rotating it along the 3 axes. It's developed in C# based on the Petzold.Media3D library developed by Charles Petzold.

BRL-CAD - Solid Modeling System

BRL-CAD is a powerful cross-platform constructive solid geometry solid modeling system that includes an interactive geometry editor, ray-tracing for rendering amp; geometric analyses, network distributed framebuffer support, image & signal-processing tools.

Live Geometry

Live Geometry lets you create interactive ruler and compass constructions and experiment with them. It is CAD-like educational software for teachers and students. It helps visualize and solve geometry problems.

geometry-api-java - The Esri Geometry API for Java enables developers to write custom applications for analysis of spatial data

The Esri Geometry API for Java enables developers to write custom applications for analysis of spatial data.

JCS - Conflates spatial datasets

The JCS Conflation Suite is an API and set of interactive tools which perform conflation on spatial datasets.

world.geo.json - Annotated geo-json geometry files for the world

You might prefer world-atlas or us-atlas instead, if that is an issue. As a bonus, that will give you not just attributable sources, but topology preservation across features and much smaller files than native geo-json offers. It's the future.

Wykobi Computational Geometry Library

Wykobi is an efficient, robust and simple to use multi-platform 2D/3D computational geometry library. Wykobi provides a concise, predictable, and deterministic interface for geometric primitives and complex geometric routines using and conforming to the ISO/IEC 14882:2003 C++ lan

mathfu - C++ math library developed primarily for games focused on simplicity and efficiency.

MathFu is a C++ math library developed primarily for games focused on simplicity and efficiency.It provides a suite of vector, matrix and quaternion classes to perform basic geometry suitable for game developers. This functionality can be used to construct geometry for graphics libraries like OpenGL or perform calculations for animation or physics systems.

supercluster - A crazy fast geospatial point clustering library for browsers and Node.

A very fast JavaScript library for geospatial point clustering for browsers and Node.Loads an array of GeoJSON Feature objects. Each feature's geometry must be a GeoJSON Point. Once loaded, index is immutable.

MathGeoLib - A C++ library for linear algebra and geometry manipulation for computer graphics.

A C++ library for linear algebra and geometry manipulation for computer graphics.

FreeCAD - An Open Source parametric 3D CAD modeler

FreeCAD is a parametric 3D modeler. Parametric modeling allows you to easily modify your design by going back into your model history and changing its parameters. FreeCAD is based on OpenCasCade, a powerful geometry kernel, features an Open Inventor-compliant 3D scene representation model provided by the Coin 3D library, and a broad Python API.


DIRGeometry is a C# based directional geometry, simple and easy to use library.


Windy.TurtleDrawing is a WPF library to generate Stream Geometry with old turtle drawing system introduced in old LOGO Languages. It is very easily to visualize the geometry by assigning it to a path. Windy.TurtleDrawing is written in C# 4.0.

csg.js - Constructive solid geometry on meshes using BSP trees in JavaScript

Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and concisely using BSP trees, and is meant to serve as an easily understandable implementation of the algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled. Detailed documentation can be automatically generated using Docco.

toxiclibsjs - Toxiclibsjs is a library for computational design tasks with JavaScript

Toxiclibs.js is a port of Karsten Schmidt's Toxiclibs for Java and Processing. Toxiclibs.js provides powerful datatypes for the browser and node. It works well for manipulating any DOM element, including Canvas and SVG. The plethora of examples demonstrate its use for geometry and color manipulation as well as physics, automata and more. The examples pair with such fine libraries as: Processing.js, Three.js, D3.js or Raphael.js.

Simple2D CAD/CAM

A Simple 2D CAD/CAM application (currently Windows-only) Cuts simple shapes (pockets, mostly) and simplified gears. It has a geometry mode that allows geometry defined by lines and arcs. It also generates geometry from any OpenType-style font!


Geometry is handy program to aid the solving of Geometry, Trigonometry, and related Algebra problems, released under the terms of the GNU General Public License.