Modify PlanarBezierCurve.prototype.getPoints