Refactored BezierCurveEvaluator to make subclasses easier to implement.