def reverse(self):
return CurveSpline(<EOL>np.flip(self.coordinates, axis=<NUM_LIT:1>),<EOL>distances=(None if self.distances is None else np.flip(self.distances, axis=<NUM_LIT:0>)),<EOL>order=self.order, weights=self.weights, smoothing=self.smoothing,<EOL>periodic=self.periodic, meta_data=self.meta_data)<EOL>
curve.reverse() yields the inverted spline-curve equivalent to curve.