All Projects → akavel → martinez-src

akavel / martinez-src

Licence: other
Mirrored implementations of polygon clipping/CSG/operations algorithm, in C (original, by Martínez et al) and ActionScript3 (port, by Mahir Iqbal)

Programming Languages

C++
36643 projects - #6 most used programming language
actionscript
884 projects
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to martinez-src

envelope ex
Utilities for calculating and comparing envelopes from geometries
Stars: ✭ 15 (-55.88%)
Mutual labels:  geometry, polygon
Polylidar
Polylidar3D - Fast polygon extraction from 3D Data
Stars: ✭ 106 (+211.76%)
Mutual labels:  geometry, polygon
Polyclip Go
Go library for Boolean operations on 2D polygons.
Stars: ✭ 70 (+105.88%)
Mutual labels:  geometry, polygon
Sharpmath
A small .NET math library.
Stars: ✭ 36 (+5.88%)
Mutual labels:  geometry, polygon
Geokit
Geo-Toolkit for PHP.
Stars: ✭ 223 (+555.88%)
Mutual labels:  geometry, polygon
Geometry2d
Unity3D: A set of helper classes for 2D geometric calculations.
Stars: ✭ 40 (+17.65%)
Mutual labels:  geometry, polygon
Plexus
Polygonal mesh processing.
Stars: ✭ 90 (+164.71%)
Mutual labels:  geometry, polygon
SharpMath2
2D math / geometry collision library for C#, compatable with monogame.
Stars: ✭ 36 (+5.88%)
Mutual labels:  geometry, polygon
Cgal
The public CGAL repository, see the README below
Stars: ✭ 2,825 (+8208.82%)
Mutual labels:  geometry, polygon
Unity.library.eppz.geometry
2D Geometry for Unity. Suited for everyday polygon hassle. Polygon clipping, polygon winding direction, polygon area, polygon centroid, centroid of multiple polygons, line intersection, point-line distance, segment intersection, polygon-point containment, polygon triangulation, polygon Voronoi diagram, polygon offset, polygon outline, polygon buffer, polygon union, polygon substraction, polygon boolean operations, and more. It is a polygon fest.
Stars: ✭ 198 (+482.35%)
Mutual labels:  geometry, polygon
Wxdraw
几何画图(微信小程序)
Stars: ✭ 36 (+5.88%)
Mutual labels:  geometry, polygon
osm-static-maps
Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
Stars: ✭ 130 (+282.35%)
Mutual labels:  geometry, polygon
Wicket
A modest library for moving between Well-Known Text (WKT) and various framework geometries
Stars: ✭ 484 (+1323.53%)
Mutual labels:  geometry, polygon
Phidl
Python GDS layout and CAD geometry creation
Stars: ✭ 56 (+64.71%)
Mutual labels:  geometry, polygon
Earcut.hpp
Fast, header-only polygon triangulation
Stars: ✭ 447 (+1214.71%)
Mutual labels:  geometry, polygon
Graphical Debugging
GraphicalDebugging extension for Visual Studio
Stars: ✭ 88 (+158.82%)
Mutual labels:  geometry, polygon
polygon-splitter
A small (<10kb minified) javascript library for splitting polygons by a polyline.
Stars: ✭ 20 (-41.18%)
Mutual labels:  geometry, polygon
ludigraphix.github.io
Documentation for Ludigraphix
Stars: ✭ 21 (-38.24%)
Mutual labels:  geometry, polygon
Matgeom
Matlab geometry toolbox for 2D/3D geometric computing
Stars: ✭ 168 (+394.12%)
Mutual labels:  geometry, polygon
Shape-Your-Music
A web application for drawing music.
Stars: ✭ 106 (+211.76%)
Mutual labels:  geometry, polygon

C & ActionScript3 implementations of Martínez polygon clipping algorithm

This repository contains mirrored sources of two implementations of a polygon clipping algorithm, published in 2009 by Martínez et al. Note: a "polygon clipping" algorithm effectively allows for a full set of boolean operations on polygons, such as addition, difference, union and intersection.

Details

The code in cageo141/ is the original C code from Martínez et al., as published on the original microsite about the algorithm, by authors. From the comments in the code, it looks released to Public Domain.

The code in as3polyclip/ is an ActionScript3 port of the code, by Mahir Iqbal. According to the comments in the code, MIT-licensed.

The files in polygons/ are some datafiles which were distributed together with the C code.

The paper.pdf file is the 2009 paper (describing the algorithm), as it was published on the microsite. Please note, that Martínez apparently published a new paper with a new version of the algorithm, in 2013; the code here is of the old, 2009 algorithm. The new one seems behind a paywall as of now.

My attempt at a Go port of the 2009 algorithm is available at: http://github.com/akavel/polyclip-go (the code is based on the AS3 port, and thus MIT-licensed as well).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].