summaryrefslogtreecommitdiff
path: root/src/cython/doc/alpha_complex_user.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/doc/alpha_complex_user.rst')
-rw-r--r--src/cython/doc/alpha_complex_user.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/cython/doc/alpha_complex_user.rst b/src/cython/doc/alpha_complex_user.rst
index 1ca96b6e..f1c57248 100644
--- a/src/cython/doc/alpha_complex_user.rst
+++ b/src/cython/doc/alpha_complex_user.rst
@@ -74,11 +74,13 @@ Data structure
In order to build the alpha complex, first, a Simplex tree is built from the cells of a Delaunay Triangulation.
(The filtration value is set to NaN, which stands for unknown value):
-.. image::
+.. figure::
img/alpha_complex_doc.png
- :align: center
+ :figclass: align-center
:alt: Simplex tree structure construction example
+ Simplex tree structure construction example
+
Filtration value computation algorithm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -87,9 +89,9 @@ Filtration value computation algorithm
**if** filtration(:math:`\sigma`) is NaN **then**
filtration(:math:`\sigma`) = :math:`\alpha^2(\sigma)`
**end if**
-
+
*//propagate alpha filtration value*
-
+
**for all** :math:`\tau` face of :math:`\sigma`
**if** filtration(:math:`\tau`) is not NaN **then**
filtration(:math:`\tau`) = filtration(:math:`\sigma`)
@@ -109,11 +111,13 @@ From the example above, it means the algorithm looks into each triangle ([0,1,2]
computes the filtration value of the triangle, and then propagates the filtration value as described
here:
-.. image::
+.. figure::
img/alpha_complex_doc_420.png
- :align: center
+ :figclass: align-center
:alt: Filtration value propagation example
+ Filtration value propagation example
+
Dimension 1
^^^^^^^^^^^