2 Star 0 Fork 0

mirrors_ReneNyffenegger/Delaunay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
Sergio Gonzalez 提交于 2011-12-08 22:29 . Update readme with link to video
================================================================================
Delaunay:
Simple implementation of the Delaunay triangulation in C++.
Video: http://www.youtube.com/watch?v=bzQWU2Y564w
Requires:
Linux
Qt4
Clang (>3.0)
SCons
Build / Usage:
a) $> scons build
b) $> scons run
c) Click on the window to add points and see the triangulation =)
d) Press the "R" key to clear the mesh.
---
If you want to write/run tests:
You need: Linux amd64 or custom googletest libs
build with [$> scons] or [$> scons buildtest]
---
================================================================================
This program is a simple implementation of an incremental algorithm to obtain
the Delaunay triangulation of a set of points.
This is a part of a closed source application but it is a cool demo and might
be useful so I wanted to share it with the GPL license.
It is O(n^2). After profiling with the intended use (clicking on the screen..)
I realized that less than 30% of the generation time is spent on
point location while more than 70% is spent splitting triangles. An O(nlogn)
improvement would be negligible for the use that I'll give to this code.
Note:
Includes a hacked gch.py scons tool for precompiled clang headers.
================================================================================
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ReneNyffenegger/Delaunay.git
git@gitee.com:mirrors_ReneNyffenegger/Delaunay.git
mirrors_ReneNyffenegger
Delaunay
Delaunay
master

搜索帮助