-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interpolating a hemispherical shape leads to ZeroDivisionError #166
Comments
I tried the solution in #132. I no longer get the (Red is data points, blue is evaluation points). Here is the code I use:
|
The implemented algorithms, as they are, may not be able to handle surfaces like the hemisphere. Depending on how you generate the surface, you could play with the knot vectors or modify the fitting algorithm to use custom knot vectors. I am not sure custom knot vectors would be successful, but it might be worth a try. |
Just as a future reference to |
Describe the bug
I'm trying to interpolate a hemispherical point cloud, but I get a division by zero error. I'm not sure what I'm doing wrong. This is the point cloud:
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
I get the control points. Also, what does
centripetal
do exactly? I have tried with bothTrue
andFalse
.Configuration:
The text was updated successfully, but these errors were encountered: