chenming-wu / libcvt

Centroidal Voronoi Tessellations on Surfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libcvt

A C++ portable header-only implementation of the Centroidal Voronoi Tessellations (CVT) on meshes.

This is a refactoring from the code found in http://w3.impa.br/~leo-ks/comp_geometry

Usage

#include "libcvt/cvt.h"

libcvd::SimpleMesh mesh;
// fill the mesh with vertex and face data
libcvd::computeCVT(mesh, 30, 100);

About

Centroidal Voronoi Tessellations on Surfaces


Languages

Language:C++ 100.0%