def even_out(self, precision=<NUM_LIT>):
dists = [self.curve_length(s, e, precision=precision)<EOL>for (s,e) in zip(self.t[:-<NUM_LIT:1>], self.t[<NUM_LIT:1>:])]<EOL>return CurveSpline(self.coordinates,<EOL>order=self.order,<EOL>weights=self.weights,<EOL>smoothing=self.smoothing,<EOL>periodic=self.periodic,<EOL>distances=dists,<EOL>meta_data=self.meta_data)<EOL>
Yields an equivalent curve but where the parametric value t
is equivalent to x/y distance (up to the given precision).