# Tangential complex reference manual¶

class gudhi.TangentialComplex

Bases: object

The class Tangential_complex represents a tangential complex. After the computation of the complex, an optional post-processing called perturbation can be run to attempt to remove inconsistencies.

__init__()

TangentialComplex constructor.

Parameters: points (list of list of double) – A list of points in d-Dimension.

Or

Parameters: off_file (string) – An OFF file style name.
create_simplex_tree()

Exports the complex into a simplex tree.

Returns: A simplex tree created from the complex. SimplexTree
fix_inconsistencies_using_perturbation()

Attempts to fix inconsistencies by perturbing the point positions.

Parameters: max_perturb (double) – Maximum length of the translations used by the perturbation. time_limit (double) – Time limit in seconds. If -1, no time limit is set.
get_point()

This function returns the point corresponding to a given vertex.

Parameters: vertex (int.) – The vertex. The point. list of float
num_inconsistent_simplices()
Returns: The number of inconsistent simplices. unsigned
num_inconsistent_stars()
Returns: The number of stars containing at least one inconsistent simplex. unsigned
num_simplices()
Returns: Total number of simplices in stars (including duplicates that appear in several stars). unsigned
num_vertices()
Returns: The number of vertices. unsigned