Warning, /education/marble/src/bindings/python/sip/GeoDataLatLonBox.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 GeoDataLatLonBox : Marble::GeoDataObject
0022 {
0023 %TypeHeaderCode
0024 #include <GeoDataLatLonBox.h>
0025 %End
0026 
0027 
0028 public:
0029                             GeoDataLatLonBox ();
0030                             GeoDataLatLonBox (qreal north, qreal south, qreal east, qreal west, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0031                             GeoDataLatLonBox (const Marble::GeoDataLatLonBox&);
0032     qreal                   north (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0033     void                    setNorth (const qreal north, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0034     qreal                   south (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0035     void                    setSouth (const qreal south, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0036     qreal                   east (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0037     void                    setEast (const qreal east, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0038     qreal                   west (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0039     void                    setWest (const qreal west, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0040     qreal                   rotation (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0041     void                    setRotation (const qreal rotation, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0042     void                    setBoundaries (qreal north, qreal south, qreal east, qreal west, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian);
0043     qreal                   width (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0044     qreal                   height (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0045     bool                    crossesDateLine () const;
0046     virtual bool            contains (const Marble::GeoDataCoordinates&) const;
0047     bool                    contains (const Marble::GeoDataLatLonBox&) const;
0048     virtual bool            intersects (const Marble::GeoDataLatLonBox&) const;
0049 
0050 //mt undefined symbol: QVector<Marble::GeoDataCoordinates*>& coordinates -- need mapped type?
0051 //mt     static Marble::GeoDataLatLonBox  fromCoordinates (const QVector<Marble::GeoDataCoordinates*>& coordinates);
0052 
0053     static Marble::GeoDataLatLonBox  fromLineString (const Marble::GeoDataLineString& lineString);
0054     virtual QString         toString (Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0055     virtual bool            isNull () const;
0056     virtual void            pack (QDataStream& stream) const;
0057     virtual void            unpack (QDataStream& stream);
0058     virtual ~GeoDataLatLonBox ();
0059     virtual const char*     nodeType () const;
0060     virtual Marble::GeoDataCoordinates  center () const;
0061     bool                    containsPole (Marble::Pole pole = Marble::AnyPole) const;
0062     Marble::GeoDataLatLonBox  united (const Marble::GeoDataLatLonBox& other) const;
0063     virtual bool            isEmpty () const;
0064     Marble::GeoDataLatLonBox  operator | (const Marble::GeoDataLatLonBox& other) const;
0065     Marble::GeoDataLatLonBox&  operator |= (const Marble::GeoDataLatLonBox& other);
0066     void                    boundaries (qreal& north, qreal& south, qreal& east, qreal& west, Marble::GeoDataCoordinates::Unit unit = Marble::GeoDataCoordinates::Radian) const;
0067     virtual void            clear ();
0068 };
0069 // GeoDataLatLonBox
0070 
0071 };
0072 // Marble
0073 
0074