Construct the cubic precision interpolant
for i=0 to N
Adjust the boundary control points
Set c
2
with (15)
Exterior Fairing
Set l
7
,l
8
,r
7
,r
8
with (7)
Set l
4
,r
4
with (11)
C
1
Smoothing (Section 4.3)
end
Figure 11: Code for quartic Clough-Tocher algorithm.
Table 1: Comparison of errors.
Cubic Precision Kashyap Quartic
RMS 0.0172 0.0166 0.0170
Max 0.0754 0.0752 0.0690
5 ALGORITHM AND EXAMPLE
Similar to Kashyap’s scheme, our algorithm it-
erates between three adjustments: adjusting the
boundary control points (Section 4.2); adjusting the
crossboundary control points (Section 4.1); and C
1
smoothing on mini-triangle boundaries (Section 4.3).
Pseudo-code for our algorithm appears in Figure 11.
The cubic precision Clough-Tocher interpolant was
used to create initial locations for the control points
of our method as well as the variation of Kashyap’s
method that we implemented.
Figure 12 compares the error of our method to the
cubic precision interpolant and to Kashyap’s scheme
on a sampling of the Frankye function (Frankye,
1982),
F(x,y) = 0.75e
−
(9x−2)
2
+(9y−2)
2
4
+0.75e
−
(9x+1)
2
49
−
9y+1
10
+0.5e
−
(9x−7)
2
+(9y−3)
2
4
−0.2e
−(9x−4)
2
−(9y−7)
2
,
where we used a 5 × 5 sampling of F as our data.
Table 1 gives both the RMS error and the maxi-
mum (|CT − F|) error for the three methods on this
data. From the data, we see that the errors are not
substantially different. As our interest is more in
shape than in data reproduction, Figure 13 shows
shaded images and Gaussian curvature plots of the
three surfaces. Here we see that despite similar error,
Kashyap’s scheme gives a visible improvement over
the cubic precision Clough-Tocher interpolant, while
our quartic scheme gives a visual improvement over
Kashyap’s scheme.
6 CONCLUSIONS
In this paper, we presented a quartic version of
Clough-Tocher interpolation that gives a shape im-
provement over a similar cubic scheme of Kashyap.
Both methods used least squares to do fairing of the
surfaces. However, while Kashyap did fairing across
both the macro- and mini-boundaries, we used fair-
ing across the macro-boundaries and to adjust the
macro-boundary curve. The adjustment to the macro-
boundary curve was key to our shape improvements.
We also tested a method to smooth across the mini-
triangle boundaries (similar to what Kashyap did, al-
though with our higher degree patches, our mini-
triangle smoothing achieved C
3
continuity across the
mini-triangle boundaries). However, with this inte-
rior smoothing step in the quartic scheme, our quartic
surfaces were of similar quality to Kashyap’s cubic
surfaces. It was only when we adjusted the macro-
boundary (and no longer did interior boundary dis-
continuity minimization) that our quartic scheme gave
better surfaces than Kashyap’s cubic scheme.
Additional details of our scheme can be found
in (Fang, 2017).
REFERENCES
Clough, R. and Tocher, J. (1965). Finite element stiffness
matrices for analysis of plates in bending. Proceed-
ings of the Conference on Matrix Methods in Struc-
tural Mechanics, pages 515–545.
Fang, X. (2017). Using least squares to construct approxi-
mate continuous Clough-Tocher interpolant. Master’s
thesis, University of Waterloo.
Farin, G. (2002). Curves and Surfaces for CAGD. Morgan-
Kaufmann.
Frankye, R. (1982). Scattered data interpolation: Tests of
some methods. Mathematics of Computation, 39:181–
200.
Kashyap, P. (1996). Improving Clough-Tocher interpolants.
CAGD, 13(7):629–651.
Lai, M.-J. (1997). Geometric interpretation of smoothness
conditions of triangular polynomial patches. CAGD,
14(2):191–197.
Mann, S. (1999). Cubic precision Clough-Tocher interpola-
tion. CAGD, 16(2):85–88.
ˇ
Zen
´
ı
ˇ
sek, A. (1970). Interpolation polynomials on the trian-
gle. Numerische Mathematik, 15:283–296.
A Quartic Clough-Tocher Interpolant
205