SVG export of several 2D space partitioning structures.
geo.h
minimalist 2D geometry structures (Point, Vector, Box, Sphere)bvhsphere.h
minimalist bounding sphere hierarchybvhbox.h
minimalist bounding box hierarchykdtree.h
minimalist kd treequadtree.h
minimalist quadtreevptree.h
minimalist vantage points treedraw.h
tree to SVG draw functionssimple_svg_extend.h
extends Simple SVG to support arcs and cavc::PolyLine
(included in this project)
The project uses cmake to build the examples. For instance (linux/mac):
mkdir build
cd build
cmake ..
make
Note: the bunny.dat
file must be copied in the same folder as
the build binaries.
VP tree | Quadtree | KD tree | BVH box | BVH sphere |
---|---|---|---|---|
Large poster |
---|
Basile Fraboni, LIRIS, INSA Lyon, Université Claude Bernard Lyon 1
David Coeurjolly, CNRS, LIRIS
You may use, distribute and modify this code under the terms of the MIT license. For further details please refer to : https://mit-license.org/