mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[apps/shared] CartesianFunction: default domain of parametric and polar
functions is 0..2*pi
This commit is contained in:
@@ -131,7 +131,7 @@ void CartesianFunction::setPlotType(PlotType newPlotType) {
|
||||
Expression e = expressionClone();
|
||||
m_model.tidy();
|
||||
double tMin = newPlotType == PlotType::Cartesian ? -INFINITY : 0.0;
|
||||
double tMax = newPlotType == PlotType::Cartesian ? INFINITY : 360.0;
|
||||
double tMax = newPlotType == PlotType::Cartesian ? INFINITY : 2.0*M_PI;
|
||||
setTMin(tMin);
|
||||
setTMax(tMax);
|
||||
recordData()->setPlotType(newPlotType);
|
||||
|
||||
Reference in New Issue
Block a user