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
Problems in evaluation of derivative control points #34
Comments
@Nodli would you elaborate a little on the bug you have found? |
Issue #35 could also be related to this one. Additionally, |
This is the issue I was talking about. |
From what I understand from chapter 4, I can say that they are computing C(u) and S(u,v) from Cw(u) and Sw(u,v). Well, simplifying everything to this only sentence may not be that correct but the authors (and the majority of the other researchers) use weights as shape modifications tools, like a supplement to what we define with (x,y,z). This also correlates to the main purpose of the "rational" curves and surfaces. Regarding to what you say about the beginning of Section 4.3 on p.125, I feel a small trick. Yes, it is definitely possible to differentiate Cw and Sw with the methods developed in Section 3.3 (and I depend on this sentence on implementation of Algorithm A4.2 RatCurveDerivs and it just works) but not with all of them, for instance A3.4. Sometimes it is just the style of writing. As a result, this is not a bug at all but the method itself. Maybe we could elaborate more on the Issue #35 and try to find an algorithm for that. What do you think about it? |
I did some research on this today and it seems you were right. Details about what i am saying are in this paper "Evaluation and properties of the derivative of a NURBS Curve", S. Floater (https://pdfs.semanticscholar.org/23cf/5b46ea38dd321c525bf952bde459dbf1be33.pdf). The equation from the book comes from the "hodograph formula" for non-rational Bezier and BSplines (Eq (5) p.6 in the paper) by identifying the evaluation formula in this one. Unfortunately I could not find any other method for rational curves... |
Thanks @Nodli for the research. So it turned out that there are no bugs and I guess we can close this issue. |
From #33 @Nodli says
The text was updated successfully, but these errors were encountered: