Sei sulla pagina 1di 4

Question 1: Bezier quadratic curve successive linear interpolation equation

Theory:

0,2 () = (1 )2 0 + 2(1 )1 + 2 2
0,2 () = [()] = [][]
[] = [(1 ) 2(1 ) 2 ] [] = [0 1 2 ]

(a)

Given: = 0.25 ; 0 = (0, 3, 0); 1 = (1, 1, 0); 2 = (4, 2, 0)


0,2 (0.25) = (1 0.25)2 0 + 2(0.25)(1 0.25)1 + 0.252 2
0,2 (0.25) = [0.5625

0.375

0
0.0625] [1
4

3
1
2

0
0] = [0.625
0

1.1875

0]

Therefore, point on curve where parameter u=0.25 is located @ x,y,z = (0.625, 1.1875, 0)
Alias Application/Confirmation: See Appendix A for screen shots of results

(b)

File > Open > BezierQuadratic.wire


Locators > Arc > Select Curve
Windows > Information > Information Window > Position > U > Set to 0.25 > Enter > Read
XYZ Values
Given: = 0.45 ; 0 = (0, 2, 0); 1 = (2, 1, 0); 2 = (5, 3, 0)
0,2 () = [()] = [][]
0,2 (0.45) = (1 0.45)2 0 + 2(0.45)(1 0.45)1 + 0.452 2
0,2 (0.25) = [0.3025

0.495

0
0.2025] [2
5

2
1
3

0
0] = [2.0025
0

0.4975

0]

Alias Application/Confirmation: See Appendix A for screen shots of results

File New > YES to confirm Delete all objects > Save As > Save Name.wire
Curves Palette > DBL Click CV Curve > Uniform knot spacing, degree 2 > Go
Enter absolute position of points in Prompt Line for P0, P1, P2 (enter key after each)
Pick > Nothing > Object to complete curve creation
Locators > Arc > Select Curve
Windows > Information > Information Window > Position > U > Set to 0.45 > Enter > Read
XYZ values

Question 2: Cubic Bezier Curve successive linear interpolation equation


Theory:

0,3 () = (1 )0,2 + 1,2


0,2 () = (1 )2 0 + 2(1 )1 + 2 2
1,2 () = (1 )2 1 + 2(1 )2 + 2 3
0,3 () = (1 )3 0 + 3(1 )2 1 + 32 (1 )2 + 3 3
0,3 () = [()] = [][]
[] = [(1 )3 3(1 )2 32 (1 ) 3 ] [] = [0 1 2 3 ]

Page 1 of 4

(a)

Given: = 0.35 ; 0 = (0, 3, 0); 1 = (1, 1, 0); 2 = (4, 2, 0); 3 = (5, 1, 2)


0,3 () = [()] = [][]

0,3 (0.35) = [0.2746

0.4436

0.65

0
1
0.0429] [
4
5

3
1
2
1

0
0
] = [0.625
0
2

1.1875

0]

Alias Application/Confirmation: See Appendix A for screen shots of results

(b)

File > Open > BezierCubic.wire


Locators > Arc > Select Curve
Windows > Information > Information Window > Position > U > Set to 0.35 > Enter > Read
XYZ Values
Given: = 0.45 ; 0 = (0, 2, 0); 1 = (2, 1, 0); 2 = (5, 3, 0); 3 = (7, 1, 3)
0,3 () = [()] = [][]

0,3 (0.35) = [0.1664

0.4084

0.3341

0
2
0.0911] [
5
7

2
1
3
1

0
0
] = [3.1253
0
3

0.9869

0.2734]

Alias Application/Confirmation: See Appendix A for screen shots of results

File New > YES to confirm Delete all objects > Save As > Save Name.wire
Curves Palette > DBL Click CV Curve > Uniform knot spacing, degree 3 > Go
Enter absolute position of points in Prompt Line for P0, P1, P2, P3 (enter key after each)
Pick > Nothing > Object to complete curve creation
Locators > Arc > Select Curve
Windows > Information > Information Window > Position > U > Set to 0.45 > Enter > Read
XYZ values

Question 3 Curve Fitting

Data:

Alias CV Curve Points (Z=0)


X
-2.0000
-8.4473
Y
2.0000
10.6298

0.1686
17.0647

8.0000
22.0000

Discussion:
Referring to Figure 1 below, both the Excel curve fit and the Alias CV fit polygon curves produced a much
smoother curve around the data points than simply constructing an edit point curve through the data
points. This is primarily due to the fact that only one span is used for these curves as opposed to the 11
spans used for the edit point curve which resulted in an oscillatory jerky curve. The key difference
between the Excel and Alias fit curves is the fact that the Alias curve begin and end on a physical data
point while the Excel curve does not. This would certainly impact the accuracy of the fit. In fact, by
inspection of the first half of the interpolation of the Excel and Alias curves, it seems that the deviation
from the data points for the Alias curve is not as pronounced as that of the Excel curve.

Page 2 of 4

Figure 1 - Plot of Alias CV Curve (fit), Excel Curve Fit, and Data Points

Page 3 of 4

Appendix A
Formula: =MMULT(TRANSPOSE( UMatrix) ; PositionMatrix)
Quadratic Bezier
Q1 (a)
U 0.25
U Matrix
CV Pts
X
Y
Z
0.5625
P0
0
3
0
0.375
P1
1
-1
0
0.0625
P2
4
-2
0
Result
P(u)
Q1 (b)
U 0.45
U Matrix
CV Pts
0.3025
P0
0.495
P1
0.2025
P2
Result
P(u)
Cubic Bezier
Q2 (a)
U 0.35
U Matrix
CV Pts
0.274625
P0
0.443625
P1
0.238875
P2
0.042875
P3
Result
P(u)

Q2 (b)
U 0.45
U Matrix
CV Pts
0.166375
P0
0.408375
P1
0.334125
P2
0.091125
P3
Result
P(u)

0.6250 1.1875 0.0000

Y
0
2
5

Z
2
-1
-3

0
0
0

2.0025 -0.4975 0.0000

Y
0
1
4
5

Z
3
-1
-2
1

0
0
0
2

1.6135 -0.0546 0.0858

Y
0
2
5
7

Z
2
-1
-3
1

0
0
0
3

3.1253 -0.9869 0.2734

Page 4 of 4

Potrebbero piacerti anche