Curve class