Code Monkey home page Code Monkey logo

martinez-src's Introduction

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).

martinez-src's People

Contributors

akavel avatar

Watchers

James Cloos avatar José Ángel Martínez Torres avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.