marble
shp2pn2.cpp File Reference
#include <QDebug>
#include <QVector>
#include <QFileInfo>
#include <QFile>
#include <QDataStream>
#include <QApplication>
#include <QTreeView>
#include <MarbleWidget.h>
#include <MarbleModel.h>
#include <ParsingRunnerManager.h>
#include <GeoDataTreeModel.h>
#include <GeoDataFeature.h>
#include <GeoDataDocument.h>
#include <GeoDataPlacemark.h>
#include <GeoDataLineString.h>
#include <GeoDataLinearRing.h>
#include <GeoDataPolygon.h>
#include <GeoDataPoint.h>
#include <GeoDataGeometry.h>
Include dependency graph for shp2pn2.cpp:
![](shp2pn2_8cpp__incl.png)
Go to the source code of this file.
Enumerations | |
enum | polygonFlagType { LINESTRING = 0, LINEARRING = 1, OUTERBOUNDARY = 2, INNERBOUNDARY = 3, MULTIGEOMETRY = 4 } |
Functions | |
quint32 | getParentNodes (QVector< GeoDataCoordinates >::Iterator begin, QVector< GeoDataCoordinates >::Iterator end) |
qreal | latDistance (const GeoDataCoordinates &A, const GeoDataCoordinates &B) |
qreal | lonDistance (const GeoDataCoordinates &A, const GeoDataCoordinates &B) |
int | main (int argc, char **argv) |
qreal | nodeDistance (const GeoDataCoordinates &A, const GeoDataCoordinates &B) |
void | printAllNodes (QVector< GeoDataCoordinates >::Iterator begin, QVector< GeoDataCoordinates >::Iterator end, QDataStream &stream) |
qint16 | printFormat16 (qreal X) |
qint8 | printFormat8 (qreal X) |
Variables | |
qreal | epsilon = 1.0 |
Enumeration Type Documentation
enum polygonFlagType |
Enumerator | |
---|---|
LINESTRING | |
LINEARRING | |
OUTERBOUNDARY | |
INNERBOUNDARY | |
MULTIGEOMETRY |
Definition at line 62 of file shp2pn2.cpp.
Function Documentation
quint32 getParentNodes | ( | QVector< GeoDataCoordinates >::Iterator | begin, |
QVector< GeoDataCoordinates >::Iterator | end | ||
) |
Definition at line 89 of file shp2pn2.cpp.
qreal latDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 64 of file shp2pn2.cpp.
qreal lonDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 70 of file shp2pn2.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 135 of file shp2pn2.cpp.
qreal nodeDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 76 of file shp2pn2.cpp.
void printAllNodes | ( | QVector< GeoDataCoordinates >::Iterator | begin, |
QVector< GeoDataCoordinates >::Iterator | end, | ||
QDataStream & | stream | ||
) |
Definition at line 106 of file shp2pn2.cpp.
qint16 printFormat16 | ( | qreal | X | ) |
Definition at line 81 of file shp2pn2.cpp.
qint8 printFormat8 | ( | qreal | X | ) |
Definition at line 85 of file shp2pn2.cpp.
Variable Documentation
qreal epsilon = 1.0 |
Definition at line 59 of file shp2pn2.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.