Warning, /education/marble/src/bindings/python/sip/GeoDataPoint.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 GeoDataPoint : Marble::GeoDataCoordinates, Marble::GeoDataGeometry
0022 {
0023 %TypeHeaderCode
0024 #include <GeoDataPoint.h>
0025 %End
0026
0027
0028 public:
0029 typedef Marble::GeoDataCoordinates::Notation Notation;
0030 typedef Marble::GeoDataCoordinates::Unit Unit;
0031
0032 GeoDataPoint (const Marble::GeoDataPoint& other);
0033 GeoDataPoint (const Marble::GeoDataGeometry& other);
0034 GeoDataPoint ();
0035 typedef QVector<Marble::GeoDataPoint> Vector;
0036
0037 virtual void pack (QDataStream& stream) const;
0038 virtual void unpack (QDataStream& stream);
0039 virtual void detach ();
0040
0041 GeoDataPoint (const Marble::GeoDataCoordinates& other);
0042 ~GeoDataPoint ();
0043 virtual const char* nodeType () const;
0044 GeoDataPoint (qreal lon, qreal lat, qreal alt = 0, Marble::GeoDataPoint::Unit _unit = Marble::GeoDataCoordinates::Radian);
0045 void setCoordinates (const Marble::GeoDataCoordinates& coordinates);
0046 const Marble::GeoDataCoordinates& coordinates () const;
0047 };
0048 // GeoDataPoint
0049
0050 };
0051 // Marble
0052
0053