From: Peter Vanroose <Peter.V<anroose@es...>  20020226 18:31:42

> I need an ellipse whose parameters can be changed after construction > because I'd like to update them. vsol_conic_2d now has two extra methods: set_central_parameters and set_parabola_parameters. The former sets the midpoint, main axes lengths and direction of main axis of an ellipse (if both lenghts are positive) or hyperbola, the latter sets symmetry axis, top and excentricity of a parabola. The arguments they take are identical to those taken by the corresponding constructors, and should be identical to the parameters returned by the ellipse_parameters, hyperbola_parameters and parabola_parameters methods. Peter. P.S. Note that there is (and has been for quite some time) an error in hyperbola_parameters; The added test in test_vsol_conic fails on this. 