Smooth circular approximation for curves