• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GeoAprsCoordinates
Public Types | Public Member Functions | List of all members
Marble::GeoAprsCoordinates Class Reference

#include <GeoAprsCoordinates.h>

Inheritance diagram for Marble::GeoAprsCoordinates:
Inheritance graph
[legend]

Public Types

enum  SeenFrom {
  FromNowhere = 0x00, FromTTY = 0x01, FromTCPIP = 0x02, FromFile = 0x04,
  Directly = 0x08
}
 
- Public Types inherited from Marble::GeoDataCoordinates
enum  BearingType { InitialBearing, FinalBearing }
 
enum  Notation {
  Decimal, DMS, DM, UTM,
  Astro
}
 
typedef QVector
< GeoDataCoordinates * > 
PtrVector
 
enum  Unit { Radian, Degree }
 
typedef QVector
< GeoDataCoordinates > 
Vector
 

Public Member Functions

 GeoAprsCoordinates (qreal lon, qreal lat, int where)
 
 ~GeoAprsCoordinates ()
 
void addSeenFrom (int where)
 
int seenFrom () const
 
void setTimestamp (const QTime &t)
 
const QTime & timestamp () const
 
- Public Member Functions inherited from Marble::GeoDataCoordinates
 GeoDataCoordinates (const GeoDataCoordinates &other)
 
 GeoDataCoordinates ()
 
 GeoDataCoordinates (qreal lon, qreal lat, qreal alt=0, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian, int detail=0)
 
virtual ~GeoDataCoordinates ()
 
qreal altitude () const
 
qreal bearing (const GeoDataCoordinates &other, Unit unit=Radian, BearingType type=InitialBearing) const
 
virtual void detach ()
 
int detail () const
 
void geoCoordinates (qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
void geoCoordinates (qreal &lon, qreal &lat, qreal &alt, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
bool isPole (Pole=AnyPole) const
 
bool isValid () const
 
qreal latitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
QString latToString () const
 
qreal longitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
QString lonToString () const
 
virtual bool operator!= (const GeoDataCoordinates &) const
 
GeoDataCoordinates & operator= (const GeoDataCoordinates &other)
 
virtual bool operator== (const GeoDataCoordinates &) const
 
virtual void pack (QDataStream &stream) const
 
const Quaternion & quaternion () const
 
void set (qreal lon, qreal lat, qreal alt=0, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setAltitude (const qreal altitude)
 
void setDetail (const int det)
 
void setLatitude (qreal lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setLongitude (qreal lon, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
QString toString () const
 
QString toString (GeoDataCoordinates::Notation notation, int precision=-1) const
 
virtual void unpack (QDataStream &stream)
 

Additional Inherited Members

- Static Public Member Functions inherited from Marble::GeoDataCoordinates
static GeoDataCoordinates::Notation defaultNotation ()
 
static GeoDataCoordinates fromString (const QString &string, bool &successful)
 
static QString latToString (qreal lat, GeoDataCoordinates::Notation notation, GeoDataCoordinates::Unit unit=Radian, int precision=-1, char format= 'f')
 
static QString lonToString (qreal lon, GeoDataCoordinates::Notation notation, GeoDataCoordinates::Unit unit=Radian, int precision=-1, char format= 'f')
 
static qreal normalizeLat (qreal lat, GeoDataCoordinates::Unit=GeoDataCoordinates::Radian)
 
static qreal normalizeLon (qreal lon, GeoDataCoordinates::Unit=GeoDataCoordinates::Radian)
 
static void normalizeLonLat (qreal &lon, qreal &lat, GeoDataCoordinates::Unit=GeoDataCoordinates::Radian)
 
static void setDefaultNotation (GeoDataCoordinates::Notation notation)
 
- Protected Attributes inherited from Marble::GeoDataCoordinates
GeoDataCoordinatesPrivate * d
 

Detailed Description

Definition at line 19 of file GeoAprsCoordinates.h.

Member Enumeration Documentation

enum Marble::GeoAprsCoordinates::SeenFrom
Enumerator
FromNowhere 
FromTTY 
FromTCPIP 
FromFile 
Directly 

Definition at line 23 of file GeoAprsCoordinates.h.

Constructor & Destructor Documentation

GeoAprsCoordinates::GeoAprsCoordinates ( qreal  lon,
qreal  lat,
int  where 
)

Definition at line 15 of file GeoAprsCoordinates.cpp.

GeoAprsCoordinates::~GeoAprsCoordinates ( )

Definition at line 23 of file GeoAprsCoordinates.cpp.

Member Function Documentation

void GeoAprsCoordinates::addSeenFrom ( int  where)

Definition at line 28 of file GeoAprsCoordinates.cpp.

int GeoAprsCoordinates::seenFrom ( ) const

Definition at line 34 of file GeoAprsCoordinates.cpp.

void GeoAprsCoordinates::setTimestamp ( const QTime &  t)

Definition at line 40 of file GeoAprsCoordinates.cpp.

const QTime & GeoAprsCoordinates::timestamp ( ) const

Definition at line 47 of file GeoAprsCoordinates.cpp.


The documentation for this class was generated from the following files:
  • GeoAprsCoordinates.h
  • GeoAprsCoordinates.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal