← Back

ofxPolygonDetector

github.com/PauRosello97/ofxPolygonDetector · @PauRosello97
OF 0.11 Geometry

Detect all closed polygons given a set of line segments implementing the Bentley–Ottmann algorithm.

15 2 Last commit 5y ago Created 5y ago

README

ofxPolygonDetector



Detect all closed polygons given a set of line segments implementing the Bentley–Ottmann algorithm.

Installation



Download this repository in your addons folder

$ cd ../addons/
$ git clone https://github.com/PauRosello97/ofxPolygonDetector


Usage



``c++

include "ofxPolygonDetector.h";



polygons = polygonDetector.detectPolygons(lines);
``

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Credits

Catalin Stan

Alfredo Ferreira, Manuel J. Fonseca, Joaquim Armando Pires Jorge

License

MIT

Get this addon

HTTPS
SSH