GeoEllipse::GeoEllipse(const GeoPoint &f1, const GeoPoint &f2, const GeoPoint &p, const TaskProjection &_task_projection) :task_projection(_task_projection) { ell = FlatEllipse(task_projection.fproject(f1), task_projection.fproject(f2), task_projection.fproject(p)); }
GeoEllipse::GeoEllipse(const GeoPoint &f1, const GeoPoint &f2, const GeoPoint &p, const FlatProjection &_projection) :projection(_projection) { ell = FlatEllipse(projection.ProjectFloat(f1), projection.ProjectFloat(f2), projection.ProjectFloat(p)); }