20. Approximation
Splines
ppp
When polynomial sections are fitted tothe
general control point pathwithout
necessarily passing through any control
point, the resulting curve is said to
approximate
30. Problems with Parametric
Continuity
Two line segments:
f'(u ) = B -A
g'(v ) = C-B
f'(u ) = B -A g'(v ) = C-B
Is it strange?
F(u) =A +u (B -A)/ | B -A|
f(u ) = A +u (B -A)
g(v) = B +v (C - B)
u is in the range of 0 and | B - A | and v is
in the range of 0 and | C – B|
34. Geometric Continuity
Conditions Two curve segments are said Gk
geometric continuous at thejoining
point if and only if there exists two
parameterizations, one for each
curve segment, such that all i-th
derivatives, i less than or equal to k,
computed with these new
parameterizations agree at the
joining point.
35. Geometric Continuity
Conditions TwoC 0 curve segments are saidG 1
geometric continuous at the joining point
if and only if vectors fu'( ) and gv'( ) are in
thseame direction at the joining point.
Note thautf'( ) andvg'( ) are evaluated at
taheejoniningpoint.
36. Geometric Continuity
Conditions
Two C1 curve segments are said G2 geometric
continuous at the joining point if and only if
vector f''(u) - g''(v) is parallel to the tangent
vector at the joining point. Note that f''(u) and
g''(v) are evaluated at the joining point.
79. Cardinal Splines
Cardinal splines
specified
tangents
do not have
give values endpoint tangents
For a cardinal spline, the value for the
slope at a control point is
calculated from the coordinatesof
the two adjacent controlpoints.
80. Cardinal
Splines
A cardinal splinesection
four
points
middle control points
section endpoints other two
points used calculation
endpoint slopes
81. Cardinal
Splines
P(0)
1
(1 t)(p p ) 2
P(1)
1
(1 t)(p p ) 2
The boundary conditions:
k
k
P (0) p
P (1) p
k2
k1k1
k1
slopes
p 1
82. Cardinal
Splines
P(0)
1
(1 t)(p p ) 2
P(1)
1
(1 t)(p p ) 2
The boundary conditions:
k
k
P (0) p
P (1) p
k2
k1k1
k1
83. Cardinal
Splines
t
tension parameter
Tension parameter
loosely
tightly
k
k
P (0)
1
(1 t)( p p )
2
P (1)
1
(1 t)( p p )
2
P (0) p
P (1) p
k2
k1k1
k1
86. Cardinal
Splines
k
k
P (0)
1
(1 t)( p p )
2
P (1)
1
(1 t)( p p )
2
P (0) p
P (1) p
k2
k1k1
k1
32
CAR (u)0 k 1
k
k2k1k1
k2k1
k1
CAR (u) p p CAR (u) p CAR (u) p
p [( s 2)u3
(3 2s)u2
su] p ( su3
su2
)
(su3
2su2
su) p [( 2 s)u3
(s3)u2
1]P (u) p
CAR r