GeoDataLatLonAltBox& GeoDataLatLonAltBox::operator=( const GeoDataCoordinates &other ) { setWest( other.longitude() ); setEast( other.longitude() ); setNorth( other.latitude() ); setSouth( other.latitude() ); setMinAltitude( other.altitude() ); setMaxAltitude( other.altitude() ); return *this; }
cell::cell(double ID, double X, double Y, double Z, std::string North, std::string South,std::string East, std::string West) { setID(ID); setX(X); setY(Y); setZ(Z); setNorth(North); setSouth(South); setEast(East); setWest(West); }
GeoDataLatLonAltBox::GeoDataLatLonAltBox( const GeoDataCoordinates & coordinates ) : GeoDataLatLonBox(), d( new GeoDataLatLonAltBoxPrivate ) { setWest( coordinates.longitude() ); setEast( coordinates.longitude() ); setNorth( coordinates.latitude() ); setSouth( coordinates.latitude() ); d->m_minAltitude = coordinates.altitude(); d->m_maxAltitude = coordinates.altitude(); }
GeoDataLatLonAltBox::GeoDataLatLonAltBox( const GeoDataLatLonBox &other, qreal minAltitude, qreal maxAltitude ) : GeoDataLatLonBox( other ), d( new GeoDataLatLonAltBoxPrivate ) { setWest( other.west() ); setEast( other.east() ); setNorth( other.north() ); setSouth( other.south() ); setRotation( other.rotation() ); d->m_minAltitude = minAltitude; d->m_maxAltitude = maxAltitude; }