madc / ofxvoronoi Goto Github PK
View Code? Open in Web Editor NEWSimple two-dimensional Voronoi diagrams
Simple two-dimensional Voronoi diagrams
where is the ofmian.h?
Any way to to create Voronoi diagram with non-rectangular bounds (such as a convex polygon)?
I have a problem building this ofx addon with OF 0.8.4. on Windows 8 64-bit using Code::Blocks 13:12. I have generated a project from the included example with the projectGenerator. It seems correct, but unfortunately it runs into 7 build errors (all undefined references). My attemps to fix this have not worked out. I would like to use your voronoi implementation, because out of the three I found, it is the only one that allows you to get the voronoi cells easily.
The 7 build errors are:
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::container_2d::container_2d(double, double, double, double, int, int, bool, bool, int)'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::voronoicell_base_2d::voronoicell_base_2d()'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::container_2d::put(int, double, double)'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `bool voro::voro_compute_2d<voro::container_2d>::compute_cell<voro::voronoicell_2d>(voro::voronoicell_2d&, int, int, int, int)'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::container_base_2d::~container_base_2d()'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::voronoicell_base_2d::~voronoicell_base_2d()'|
obj\Release\addons\ofxVoronoi\src\ofxVoronoi.o:ofxVoronoi.cpp|| undefined reference to `voro::voronoicell_base_2d::~voronoicell_base_2d()'|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.