Computational Geometry exercise: Calculating Minimum Bending Energy Path inside a Corridor.