Grasshopper

algorithmic modeling for Rhino

Hi Everyone.

Can anyone please explain me why,after interpolating some points on a curve, the domain of the new curve is not the same as the input one?

....

I divide an input curve (thas has a domain from 0 to 5280,...) by 9 division points. After the interpolation of those points, this last curve has a domain from 0 to 9.

I can't understand why....

Views: 485

Replies to This Discussion

i understand that they are not the same curve. for 'same domain', i meant the same range (from 0 to 5200).

thanks a lot for your reply. ;)

When curves are created anew (and there's no information about a previous curve) then the domain is usually set to be from 0 to roughly the length of the curve. If a curve is created involving some geometry from which domain data can be harvested (curve rebuild, isocurve extraction, etc) then the original domain is copied. And even then Rhino may decide that the domain is not a good one and it may override it.

Domains are purely mathematical properties and you should never expect them to have specific values. Many people think that domains and length are synonymous, but that's not the case. Curves that are scaled or deformed usually retain the same domain despite becoming much shorter or longer.

Thank you very much David. As you noted, I was associating domain with length hence my confusion. I am grateful for your explanation. Really appreciate it. 

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service