Grasshopper

algorithmic modeling for Rhino

Knowing the curvature at any point on the curve by means of the curvature component, how can i get a mathematical expression of this curve? 

So, I know any the locations of every point on the graph and the curvature. How can I get the mathematical expression/equation for this curve? 

Views: 2519

Attachments:

Replies to This Discussion

What do you mean by mathematical expression? f(x)→y?  f(t)→x; g(t)→y?  f(x,y)=c?

Either way I'm not sure it's possible and I am sure it is difficult. 

For instance, a straight line in 2D has the parametric equation p:=[t,0,0] (The function f(x)=ax+b) This is very simple. 

If I draw a random interpolate curve in Rhino, is there any options to get the parametric equation of this line? For example: ax^4+bx^3+cx^2+d etc etc. 

For instance, a straight line in 2D has the parametric equation p:=[t,0,0] (The function f(x)=ax+b) This is very simple. 

Unless the line is vertical, in which case an explicit equation won't work.

No, there is typically no way to represent a bezier/nurbs curve using a polynomial of the form f(x) = ax^p + bx^(p-1) + cx^(p-2) + ... + fx + g

A nurbs curve consists of a collection of piece-wise polynomials for each spatial dimension it is defined in. The polynomials have a certain amount of continuity where they meet (this continuity is of a higher order when the curve degree is higher), but they completely separate entities.

Hi Raqib,

Just considering the title of your post you might want to take a look at Fourier Series if you already didn't

https://en.wikipedia.org/wiki/Fourier_series

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service