summaryrefslogtreecommitdiff
path: root/src/python/gudhi/alpha_complex_3d.pyx
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-22 17:34:27 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-22 17:34:27 +0200
commit6d7c79a352023dd380b7361057cb7db371c5d269 (patch)
tree7a5c5b53c651cf51b98c2481bec70b06d5d66ab2 /src/python/gudhi/alpha_complex_3d.pyx
parent7cce5bc6778053ba6c2c3cce2bd9442c4e063e0d (diff)
Fix #448. Add Alpha complex 3d python module unitary tests accordingly.
Diffstat (limited to 'src/python/gudhi/alpha_complex_3d.pyx')
-rw-r--r--src/python/gudhi/alpha_complex_3d.pyx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/gudhi/alpha_complex_3d.pyx b/src/python/gudhi/alpha_complex_3d.pyx
index 4d3fe59c..40f1b43a 100644
--- a/src/python/gudhi/alpha_complex_3d.pyx
+++ b/src/python/gudhi/alpha_complex_3d.pyx
@@ -62,7 +62,7 @@ cdef class AlphaComplex3D:
def __init__(self, points=[], weights=[], precision='safe'):
"""AlphaComplex3D constructor.
- :param points: A list of points in d-Dimension.
+ :param points: A list of points in 3d.
:type points: Iterable[Iterable[float]]
:param weights: A list of weights. If set, the number of weights must correspond to the number of points.
@@ -118,6 +118,8 @@ cdef class AlphaComplex3D:
:type max_alpha_square: float
:returns: A simplex tree created from the Delaunay Triangulation.
:rtype: SimplexTree
+
+ :raises ValueError: If the points given at construction time are on a plane.
"""
stree = SimplexTree()
cdef double mas = max_alpha_square