mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Enable inlining of the "hot" paths
This commit is contained in:
parent
6803ee0324
commit
19cda6fbd5
@ -223,18 +223,6 @@ bool GCS::loadList(const QString &path)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Coordinates GCS::toWGS84(const Coordinates &c) const
|
|
||||||
{
|
|
||||||
return datum().toWGS84(Coordinates(_primeMeridian.toGreenwich(c.lon()),
|
|
||||||
c.lat()));
|
|
||||||
}
|
|
||||||
|
|
||||||
Coordinates GCS::fromWGS84(const Coordinates &c) const
|
|
||||||
{
|
|
||||||
Coordinates ds(datum().fromWGS84(c));
|
|
||||||
return Coordinates(_primeMeridian.fromGreenwich(ds.lon()), ds.lat());
|
|
||||||
}
|
|
||||||
|
|
||||||
QList<KV<int, QString> > GCS::list()
|
QList<KV<int, QString> > GCS::list()
|
||||||
{
|
{
|
||||||
QList<KV<int, QString> > list;
|
QList<KV<int, QString> > list;
|
||||||
|
Loading…
Reference in New Issue
Block a user