diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/doc/examples.h | 5 | ||||
-rw-r--r-- | src/common/doc/installation.h | 8 | ||||
-rw-r--r-- | src/common/doc/main_page.md | 28 | ||||
-rw-r--r-- | src/common/include/gudhi/math.h | 23 |
4 files changed, 61 insertions, 3 deletions
diff --git a/src/common/doc/examples.h b/src/common/doc/examples.h index b557727b..b2183990 100644 --- a/src/common/doc/examples.h +++ b/src/common/doc/examples.h @@ -1,10 +1,8 @@ // List of GUDHI examples - Doxygen needs at least a file tag to analyse comments // In user_version, `find . -name "*.cpp"` in example and utilities folders /*! @file Examples - * \section Alpha_complex_examples Alpha complex * @example Alpha_complex_from_off.cpp * @example Alpha_complex_from_points.cpp - * \section bottleneck_examples bottleneck * @example bottleneck_basic_example.cpp * @example alpha_rips_persistence_bottleneck_distance.cpp * @example example_nearest_landmark_table.cpp @@ -94,5 +92,8 @@ * @example persistence_landscapes/create_landscapes.cpp * @example persistence_landscapes/compute_distance_of_landscapes.cpp * @example persistence_landscapes/plot_landscapes.cpp + * @example cell_complex_from_basic_circle_manifold.cpp + * @example manifold_tracing_custom_function.cpp + * @example manifold_tracing_flat_torus_with_boundary.cpp */ diff --git a/src/common/doc/installation.h b/src/common/doc/installation.h index 610aa17e..91d30081 100644 --- a/src/common/doc/installation.h +++ b/src/common/doc/installation.h @@ -126,6 +126,8 @@ make \endverbatim * Alpha_complex/Weighted_alpha_complex_3d_from_points.cpp</a> * \li <a href="alpha_complex_3d_persistence_8cpp-example.html"> * Alpha_complex/alpha_complex_3d_persistence.cpp</a> + * \li <a href="_coxeter_triangulation_2manifold_tracing_flat_torus_with_boundary_8cpp-example.html"> + * Coxeter_triangulation/manifold_tracing_flat_torus_with_boundary.cpp</a> * * \subsection eigen Eigen * Some GUDHI modules (cf. \ref main_page "modules list"), and few examples require @@ -170,6 +172,12 @@ make \endverbatim * Witness_complex/example_witness_complex_off.cpp</a> * \li <a href="example_witness_complex_sphere_8cpp-example.html"> * Witness_complex/example_witness_complex_sphere.cpp</a> + * \li <a href="_coxeter_triangulation_2cell_complex_from_basic_circle_manifold_8cpp-example.html"> + * Coxeter_triangulation/cell_complex_from_basic_circle_manifold.cpp</a> + * \li <a href="_coxeter_triangulation_2manifold_tracing_custom_function_8cpp-example.html"> + * Coxeter_triangulation/manifold_tracing_custom_function.cpp</a> + * \li <a href="_coxeter_triangulation_2manifold_tracing_flat_torus_with_boundary_8cpp-example.html"> + * Coxeter_triangulation/manifold_tracing_flat_torus_with_boundary.cpp</a> * * \subsection tbb Threading Building Blocks * <a target="_blank" href="https://www.threadingbuildingblocks.org/">Intel® TBB</a> lets you easily write parallel diff --git a/src/common/doc/main_page.md b/src/common/doc/main_page.md index e19af537..17354179 100644 --- a/src/common/doc/main_page.md +++ b/src/common/doc/main_page.md @@ -135,7 +135,7 @@ </tr> </table> -## Filtrations and reconstructions {#FiltrationsReconstructions} +## Filtrations ### Alpha complex <table> @@ -298,6 +298,32 @@ </tr> </table> +## Manifold reconstructions +### Coxeter triangulation + +<table> + <tr> + <td width="35%" rowspan=2> + \image html "manifold_tracing_on_custom_function_example.png" + </td> + <td width="50%"> + Coxeter triangulation module is designed to provide tools for constructing a piecewise-linear approximation of an + \f$m\f$-dimensional smooth manifold embedded in \f$ \mathbb{R}^d \f$ using an ambient triangulation. + </td> + <td width="15%"> + <b>Author:</b> Siargey Kachanovich<br> + <b>Introduced in:</b> GUDHI 3.4.0<br> + <b>Copyright:</b> MIT [(LGPL v3)](../../licensing/)<br> + <b>Requires:</b> \ref eigen ≥ 3.1.0 + </td> + </tr> + <tr> + <td colspan=2 height="25"> + <b>User manual:</b> \ref coxeter_triangulation + </td> + </tr> +</table> + ### Tangential complex <table> diff --git a/src/common/include/gudhi/math.h b/src/common/include/gudhi/math.h new file mode 100644 index 00000000..f367bac2 --- /dev/null +++ b/src/common/include/gudhi/math.h @@ -0,0 +1,23 @@ +/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. + * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. + * Author(s): Vincent Rouvreau + * + * Copyright (C) 2020 Inria + * + * Modification(s): + * - YYYY/MM Author: Description of the modification + */ + +#ifndef MATH_H_ +#define MATH_H_ + +#include <boost/math/constants/constants.hpp> + +namespace Gudhi { + +// In wait of C++20 std::numbers::pi with #include <numbers> +static constexpr double PI = boost::math::constants::pi<double>(); + +} // namespace Gudhi + +#endif // MATH_H_ |