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

marble

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

#include <OsmRegion.h>

Public Member Functions

 OsmRegion ()
 
int adminLevel () const
 
const GeoDataPolygon & geometry () const
 
int identifier () const
 
qreal latitude () const
 
int left () const
 
qreal longitude () const
 
QString name () const
 
bool operator== (const OsmRegion &other) const
 
int parentIdentifier () const
 
int right () const
 
void setAdminLevel (int level)
 
void setGeometry (const GeoDataPolygon &polygon)
 
void setIdentifier (int identifier)
 
void setLatitude (qreal latitude)
 
void setLeft (int left)
 
void setLongitude (qreal longitude)
 
void setName (const QString &name)
 
void setParentIdentifier (int identifier)
 
void setRight (int right)
 

Detailed Description

A lightweight data structure to represent administrative regions like villages, cities, states, ...

with support for serialization.

Definition at line 26 of file OsmRegion.h.

Constructor & Destructor Documentation

Marble::OsmRegion::OsmRegion ( )

Definition at line 20 of file OsmRegion.cpp.

Member Function Documentation

int Marble::OsmRegion::adminLevel ( ) const

Definition at line 112 of file OsmRegion.cpp.

const GeoDataPolygon & Marble::OsmRegion::geometry ( ) const

Definition at line 102 of file OsmRegion.cpp.

int Marble::OsmRegion::identifier ( ) const

Unique (per process) region identifier.

Definition at line 27 of file OsmRegion.cpp.

qreal Marble::OsmRegion::latitude ( ) const

Latitude of the region's center point, in degree.

Definition at line 67 of file OsmRegion.cpp.

int Marble::OsmRegion::left ( ) const

Definition at line 87 of file OsmRegion.cpp.

qreal Marble::OsmRegion::longitude ( ) const

Longitude of the region's center point, in degree.

Definition at line 57 of file OsmRegion.cpp.

QString Marble::OsmRegion::name ( ) const

Definition at line 47 of file OsmRegion.cpp.

bool Marble::OsmRegion::operator== ( const OsmRegion &  other) const

Definition at line 77 of file OsmRegion.cpp.

int Marble::OsmRegion::parentIdentifier ( ) const

Definition at line 37 of file OsmRegion.cpp.

int Marble::OsmRegion::right ( ) const

Definition at line 97 of file OsmRegion.cpp.

void Marble::OsmRegion::setAdminLevel ( int  level)

Definition at line 117 of file OsmRegion.cpp.

void Marble::OsmRegion::setGeometry ( const GeoDataPolygon &  polygon)

Definition at line 107 of file OsmRegion.cpp.

void Marble::OsmRegion::setIdentifier ( int  identifier)

Identifier change.

Usage is only intended for serialization; newly created regions get an identifier automatically

Definition at line 32 of file OsmRegion.cpp.

void Marble::OsmRegion::setLatitude ( qreal  latitude)

Definition at line 72 of file OsmRegion.cpp.

void Marble::OsmRegion::setLeft ( int  left)

Definition at line 82 of file OsmRegion.cpp.

void Marble::OsmRegion::setLongitude ( qreal  longitude)

Definition at line 62 of file OsmRegion.cpp.

void Marble::OsmRegion::setName ( const QString &  name)

Definition at line 52 of file OsmRegion.cpp.

void Marble::OsmRegion::setParentIdentifier ( int  identifier)

Definition at line 42 of file OsmRegion.cpp.

void Marble::OsmRegion::setRight ( int  right)

Definition at line 92 of file OsmRegion.cpp.


The documentation for this class was generated from the following files:
  • OsmRegion.h
  • OsmRegion.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 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
  • 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