program3curves

program3curves - Program 3 Bspline Curves Foundations of...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Program 3 Bspline Curves Foundations of Computational Math 2 Spring 2011 Example 1: no clamping or wrapping PX = [ - 1 . 5 , - 1 . 3 , - 0 . 5 , 0 . 5 , 1 . 3 , 1 . 5 , 0 . 5 , - 0 . 5] PY = [ - 1 , 0 . 0 , 1 . 0 , 1 . 0 , 0 . 0 , - 1 , - 2 , - 2] -3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3 Figure 1: Example 1 curve. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Example 2: Example 1 with clamping of P 0 = P 1 = P 2 PX = [ - 1 . 5 , - 1 . 5 , - 1 . 5 , - 1 . 3 , - 0 . 5 , 0 . 5 , 1 . 3 , 1 . 5 , 0 . 5 , - 0 . 5] PY = [ - 1 , - 1 , - 1 , 0 . 0 , 1 . 0 , 1 . 0 , 0 . 0 , - 1 , - 2 , - 2 , ] -3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3 Figure 2: Example 2 curve. 2
Background image of page 2
Example 3: Example 1 with clamping of P 0 = P 1 = P 2 and clamping of P n - 2 = P n - 1 = P n PX = [ - 1 . 5 , - 1 . 5 , - 1 . 5 , - 1 . 3 , - 0 . 5 , 0 . 5 , 1 . 3 , 1 . 5 , 0 . 5 , - 0 . 5 , - 0 . 5 , - 0 . 5] PY = [ - 1 , - 1 , - 1 , 0 . 0 , 1 . 0 , 1 . 0 , 0 . 0 , - 1 , - 2 , - 2 , - 2 , - 2] -3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3 Figure 3: Example 3 curve. 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
PX = [ - 2 , - 1 , 0 , 0 . 5 , 0 . 25 , 0 . 75 , 1 . 5 , 1 . 3 , 0 . 75] PY = [ - 2 , - 1 , - 2 , - 1 , 0 . 5 , 1 . 5 , 1 , 0 . 4 , 0 . 8] -3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3 Figure 4: Example 4 curve. 4
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2011 for the course MAD 5404 taught by Professor Gallivan during the Spring '11 term at FSU.

Page1 / 8

program3curves - Program 3 Bspline Curves Foundations of...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online