GeoLocation::GeoLocation( const GeoLocation &g ) { Longitude = g.Longitude; Latitude = g.Latitude; Name = g.Name; Province = g.Province; Country = g.Country; TimeZone = g.TimeZone; TZrule = g.TZrule; Height = g.Height; indexEllipsoid = g.indexEllipsoid; setEllipsoid ( indexEllipsoid ); geodToCart(); }
GeoLocation::GeoLocation( GeoLocation *g ) { Longitude = g->Longitude; Latitude = g->Latitude; Name = g->Name; Province = g->Province; Country = g->Country; TimeZone = g->TimeZone; TZrule = g->TZrule; Height = g->Height; indexEllipsoid = g->indexEllipsoid; setEllipsoid ( indexEllipsoid ); geodToCart(); }
GeoLocation::GeoLocation( double lng, double lat, QString name, QString province, QString country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) { Longitude.set( lng ); Latitude.set( lat ); Name = name; Province = province; Country = country; TimeZone = tz; TZrule = tzrule; Height = hght; indexEllipsoid = iEllips; setEllipsoid ( indexEllipsoid ); geodToCart(); }
GeoLocation::GeoLocation( dms lng, dms lat, const QString &name, const QString &province, const QString &country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) { Longitude = lng; Latitude = lat; Name = name; Province = province; Country = country; TimeZone = tz; TZrule = tzrule; Height = hght; indexEllipsoid = iEllips; setEllipsoid ( indexEllipsoid ); geodToCart(); }