Skip to content

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

License

Notifications You must be signed in to change notification settings

PauRosello97/ofxPolygonDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

#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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages