A real-time CNC interpolator algorithm for trimming and filling planar offset curves. (May 2017)