Class: TreeCotree

Projects. TreeCotree


new TreeCotree(mesh)

This class computes the tree cotree decomposition of a surface mesh
to build its homology generators.

Parameters:
Name Type Description
mesh module:Core.Mesh

The input mesh this class acts on.

Properties:
Name Type Description
mesh module:Core.Mesh

The input mesh this class acts on.

vertexParent vertexParent

A dictionary mapping each vertex of the input mesh to
its parent in the primal spanning tree.

faceParent faceParent

A dictionary mapping each face of the input mesh to
its parent in the dual spanning tree.

Methods


buildGenerators()

Computes the homology generators of the input mesh and stores them
in the Mesh's generators property.