geo - S2 geometry library in Go

  •        22

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.

https://github.com/golang/geo

Tags
Implementation
License
Platform

   




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.

jsts - JavaScript Topology Suite


JSTS is an ECMAScript library of spatial predicates and functions for processing geometry conforming to the Simple Features Specification for SQL published by the Open Geospatial Consortium. JSTS is also a port of the well established Java library JTS. The primary goal of the project is to provide web mapping applications with a complete library for processing and analyzing simple geometries but JSTS can also be used as a free standing geometry library.

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.

Geometer


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.

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.

DIRGeometry


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

Windy.TurtleDrawing


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.

FreeCAD - An Open Source parametric 3D CAD modeler


FreeCAD is a general purpose feature-based, parametric 3D modeler for CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering and product design but also fits a wider range of uses in engineering, such as architecture or other engineering specialties. 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.

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!