Sketcher: Hyperbola: fix - remove periodicity correction

Not needed, since hyperbola is not periodic, unlike circle and ellipse
This commit is contained in:
DeepSOIC
2016-01-13 01:56:27 +03:00
committed by wmayer
parent 132fd77d0f
commit bc1f9396f4

View File

@@ -2166,10 +2166,6 @@ void GeomArcOfHyperbola::getRange(double& u, double& v, bool emulateCCWXY) const
if(isReversedInXY()){
std::swap(u,v);
u = -u; v = -v;
if (v < u)
v += 2*M_PI;
if (v-u > 2*M_PI)
v -= 2*M_PI;
}
}
}