/usr/include/marble/GeoDataLatLonQuad.h is in libmarble-dev 4:17.12.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2013 Mayank Madan <maddiemadan@gmail.com>
//
#ifndef GEODATALATLONQUAD_H
#define GEODATALATLONQUAD_H
#include "GeoDataCoordinates.h"
#include "GeoDataObject.h"
#include "MarbleGlobal.h"
namespace Marble {
class GeoDataLatLonQuadPrivate;
/**
*/
class GEODATA_EXPORT GeoDataLatLonQuad: public GeoDataObject
{
public:
GeoDataLatLonQuad();
GeoDataLatLonQuad( const GeoDataLatLonQuad &other );
GeoDataLatLonQuad& operator=( const GeoDataLatLonQuad &other );
bool operator==( const GeoDataLatLonQuad &other ) const;
bool operator!=( const GeoDataLatLonQuad &other ) const;
~GeoDataLatLonQuad() override;
/** Provides type information for downcasting a GeoNode */
const char* nodeType() const override;
qreal bottomLeftLatitude( GeoDataCoordinates::Unit unit ) const;
qreal bottomRightLatitude( GeoDataCoordinates::Unit unit ) const;
qreal topRightLatitude( GeoDataCoordinates::Unit unit ) const;
qreal topLeftLatitude( GeoDataCoordinates::Unit unit ) const;
qreal bottomLeftLongitude( GeoDataCoordinates::Unit unit ) const;
qreal bottomRightLongitude( GeoDataCoordinates::Unit unit ) const;
qreal topRightLongitude( GeoDataCoordinates::Unit unit ) const;
qreal topLeftLongitude( GeoDataCoordinates::Unit unit ) const;
void setBottomLeftLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
void setBottomRightLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
void setTopRightLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
void setTopLeftLatitude( qreal latitude, GeoDataCoordinates::Unit unit );
void setBottomLeftLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
void setBottomRightLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
void setTopRightLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
void setTopLeftLongitude( qreal longitude, GeoDataCoordinates::Unit unit );
GeoDataCoordinates& bottomLeft() const;
void setBottomLeft( const GeoDataCoordinates &coordinates );
GeoDataCoordinates& bottomRight() const;
void setBottomRight( const GeoDataCoordinates &coordinates );
GeoDataCoordinates& topRight() const;
void setTopRight( const GeoDataCoordinates &coordinates );
GeoDataCoordinates& topLeft() const;
void setTopLeft( const GeoDataCoordinates &coordinates );
bool isValid() const;
private:
GeoDataLatLonQuadPrivate* const d;
};
}
#endif
|