mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Code cleanup
This commit is contained in:
parent
e0ad64a902
commit
efa2b1c366
@ -166,7 +166,6 @@ Coordinates AlbersEqual::xy2ll(const QPointF &p) const
|
|||||||
|
|
||||||
if (_n < 0) {
|
if (_n < 0) {
|
||||||
rho *= -1.0;
|
rho *= -1.0;
|
||||||
dy *= -1.0;
|
|
||||||
dx *= -1.0;
|
dx *= -1.0;
|
||||||
rho0_minus_dy *= -1.0;
|
rho0_minus_dy *= -1.0;
|
||||||
}
|
}
|
||||||
|
@ -279,7 +279,7 @@ bool OfflineMap::createProjection(const QString &datum,
|
|||||||
|
|
||||||
bool OfflineMap::computeTransformation(const QList<ReferencePoint> &points)
|
bool OfflineMap::computeTransformation(const QList<ReferencePoint> &points)
|
||||||
{
|
{
|
||||||
Q_ASSERT(points.count() >= 2);
|
Q_ASSERT(points.size() >= 2);
|
||||||
|
|
||||||
Matrix c(3, 2);
|
Matrix c(3, 2);
|
||||||
c.zeroize();
|
c.zeroize();
|
||||||
|
Loading…
Reference in New Issue
Block a user