Require operator == between curve
A basic operator ==
should check if two curves of the same class are equal.
We could also check if two curves of different class represent the same curve but with a different formulation (eg with curve conversion). Maybe this last one should not be done in a ==
operator but in a method like isApprox()
.