Open
Description
I try to fit a surface through a field of points, where one row of points collapse to a singularity, similar to this:
https://developer.rhino3d.com/guides/general/essential-mathematics/parametric-curves-surfaces/#singularity-in-nurbs-surfaces
At the moment I get a ZeroDivisionError
:
...
File "/usr/local/lib/python3.8/dist-packages/geomdl/fitting.py", line 38, in interpolate_curve
uk = compute_params_curve(points, use_centripetal)
File "/usr/local/lib/python3.8/dist-packages/geomdl/fitting.py", line 452, in compute_params_curve
uk[i] = sum(cds[0:i + 1]) / d
ZeroDivisionError: float division by zero
Is there a workaround to get such a surface? Is it possible at all?