summaryrefslogtreecommitdiff
path: root/src/python/gudhi/alpha_complex_3d.pyx
diff options
context:
space:
mode:
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