Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno
Options

Go back

Topic review (newest first)

snyy
2006-01-25 18:13:00

i doing a application which can draw nurbs, find the intersection and fill the nurbs...

Ricky
2006-01-24 15:15:42

What are you creating nurbs in and for?

The only way I would know is to linearly search each nurb.  But I'll ask some friends I have, see if they can offer any advice.

snyy
2006-01-24 13:45:23

yes, i know where is the control point of my curve (nurbs). so, anywhere to get the intersec point?  then how to get the intersec point of the normal cubic curve?

Ricky
2006-01-24 02:22:27

I believe I was partially wrong in the above.  I think the farther it is from the line, the more pull a single point has on it.  Although I'm sure you can implement it both ways.

As for finding the intersection, there isn't any formula you can use.  That's because there is no formula for a cubic nurb, besides knowing where the control points are.

mathsyperson
2006-01-24 01:49:21

Ooh. Fair enough. I'd never heard of that terminology before. OK then, just ignore the above post, sorry!

Ricky
2006-01-23 12:56:57

What he means by cubic nurb is different than a cubic polynomial.

A nurb is a straight line with control points.  The control points work like gravity.  The closer it is to the line, the more it pulls it.  So placing a control point above a line will make it arc up, almost like -x^2.  Placing one above and below the line gives you a cubic nurb, it looks like a cubic polynomial.

You can move the control points to where ever you want, and it thus makes it easy to draw specific curves.  Very useful for modeling surfaces of things like cars.

snyy
2006-01-23 12:11:38

yaya.. i want to know where 2 curve(Nurbs) cross each other. sorry, dont really get what you means. can explain futher to me ? thanks..

mathsyperson
2006-01-21 21:55:22

Do you mean where one cubic curve crosses the x-axis or where two cubic curves cross each other?

If the first one, there's a cubic formula that you can use. It's very ugly, but it's usable. It would probably be easier to factorise it though, if you can.

If the second one, you just take one of the curves away from the other one to get a problem similar to the first case.

snyy
2006-01-21 15:05:12

hi.. anyone know what is the formula to get the intersection point between cubic curve(Nurbs)? smile
thanks..

Board footer

Powered by FluxBB