Click here to Skip to main content
15,888,980 members
Articles / Multimedia / GDI

2D Polyline Vertex Smoothing

Rate me:
Please Sign up or sign in to vote.
4.89/5 (29 votes)
1 Apr 2019CPOL8 min read 56.7K   1.3K   35  
Smooth a 2D polyline through interpolation (Catmull-Rom) or approximation (Chaikin)
In this article, you will see the use of a simple spline for interpolation called Catmull-Rom spline and a non-spline calculation for approximation called the Chaikin or CornerCutting algorithm.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer VeeTools
Netherlands Netherlands
A (usually exploring) geologist who sometimes develops software for fun and colleagues... Check out my new website at www.veetools.xyz for online mapping and coordinate conversion.

Comments and Discussions