C# Divide Curve

Divides a curve by equal parts, of lengths close to the ones the user inputs.