Warning, /education/marble/src/bindings/python/sip/GeoDataLatLonAltBox.sip is written in an unsupported language. File is not indexed.
0001 // 0002 // Copyright 2008 Simon Edwards <simon@simonzone.com> 0003 // 0004 // This library is free software; you can redistribute it and/or 0005 // modify it under the terms of the GNU Lesser General Public 0006 // License as published by the Free Software Foundation; either 0007 // version 2.1 of the License, or (at your option) any later version. 0008 // 0009 // This library is distributed in the hope that it will be useful, 0010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0012 // Lesser General Public License for more details. 0013 // 0014 // You should have received a copy of the GNU Lesser General Public 0015 // License along with this library. If not, see <http://www.gnu.org/licenses/>. 0016 // 0017 0018 namespace Marble 0019 { 0020 0021 class GeoDataLatLonAltBox : Marble::GeoDataLatLonBox 0022 { 0023 %TypeHeaderCode 0024 #include <GeoDataLatLonAltBox.h> 0025 %End 0026 0027 0028 public: 0029 GeoDataLatLonAltBox (); 0030 GeoDataLatLonAltBox (const Marble::GeoDataLatLonAltBox& other); 0031 qreal minAltitude () const; 0032 void setMinAltitude (const qreal minAltitude); 0033 qreal maxAltitude () const; 0034 void setMaxAltitude (const qreal maxAltitude); 0035 Marble::AltitudeMode altitudeMode () const; 0036 void setAltitudeMode (const Marble::AltitudeMode altitudeMode); 0037 virtual bool contains (const Marble::GeoDataCoordinates&) const; 0038 bool contains (const Marble::GeoDataLatLonAltBox&) const; 0039 virtual bool intersects (const Marble::GeoDataLatLonAltBox&) const; 0040 static Marble::GeoDataLatLonAltBox fromLineString (const Marble::GeoDataLineString& lineString); 0041 virtual QString toString (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const; 0042 bool isNull () const; 0043 virtual void pack (QDataStream& stream) const; 0044 virtual void unpack (QDataStream& stream); 0045 virtual ~GeoDataLatLonAltBox (); 0046 virtual const char* nodeType () const; 0047 virtual Marble::GeoDataCoordinates center () const; 0048 virtual void clear (); 0049 GeoDataLatLonAltBox (const Marble::GeoDataLatLonBox& other, qreal minAltitude, qreal maxAltitude); 0050 explicit GeoDataLatLonAltBox (const Marble::GeoDataCoordinates& coordinates); 0051 //ig uint qHash (const Marble::GeoDataLatLonAltBox&); 0052 }; 0053 // GeoDataLatLonAltBox 0054 0055 //ig bool operator == (const Marble::GeoDataLatLonAltBox& lhs, const Marble::GeoDataLatLonAltBox& rhs); 0056 //ig uint qHash (const Marble::GeoDataLatLonAltBox& r); 0057 }; 0058 // Marble 0059 0060