Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 681 Bytes

Readme.md

File metadata and controls

22 lines (19 loc) · 681 Bytes

HomologyCpp

Actions Status

HomologyCpp is a header-only library for computing simplicial homology of meshes.

Usage:

Given VCGLIB's mesh: mesh, initialize its chain complex using:

homology::ChainComplex<MeshType, FaceType, EdgeType, VertexType> complex(mesh);

To compute i-th betti number, use:

complex.getBetti(i);

Building examples:

In order to build examples, run the following commands from the root directory of this repository:

> mkdir build && cd build
> cmake -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=ON ..
> make -j