Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Algorithms > B-splines and c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4878 of 5017
Post > Topic >>

B-splines and coordinates?

by "saneman" <asd@[EMAIL PROTECTED] > Jul 15, 2008 at 12:46 PM

I have defined 4 controlpoints in a 2D coordinate system, x=1,...,40 and 
y=1,...,40:
           x    y
P1 = [15 10]
P2 = [18 32]
P3 = [28 28]
P4 = [33 20]

I have then found the four first 4 order Basisfunction N_{i,4} on the knot

vector

U = [0,1,2,3,4,5,6]

for u=1 the corresponding spline is:

C(1) = P1*N_{14}(1) + P2*N_{24}(1)  + P3*N_{34}(1)  + P4*N_{44}(1)

Only N_{14} with the value 0.1666 weighs the above expression. For the 
(x,y)-component the result is:

C(1)_x = 0.1666*15 = 2.5
C(1)_y = 0.1666*10 = 1.6


This meas that for u=1 the B-spline is defined in (2.5, 1.6) but that
points 
is not within the convex hull of the controlpoints.

Are there any rules for the coordinate system where the controlpoints are 
defined and where the corresponding spline is defined?
 




 3 Posts in Topic:
B-splines and coordinates?
"saneman" <a  2008-07-15 12:46:53 
Re: B-splines and coordinates?
"saneman" <a  2008-07-16 22:15:08 
Re: B-splines and coordinates?
Wojciech =?ISO-8859-2?Q?M  2008-07-18 00:58:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 8:46:42 CDT 2008.