A robust 2D point-sequence curve offset algorithm with multiple islands for contour-parallel tool path
An offset algorithm for polyline curves