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 <GeoDataStyle.h>
#include <GeoDataPolyStyle.h>
#include <GeoDataSchema.h>
#include <GeoDataSimpleField.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:
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 66 of file shp2pn2.cpp.
Function Documentation
quint32 getParentNodes | ( | QVector< GeoDataCoordinates >::Iterator | begin, |
QVector< GeoDataCoordinates >::Iterator | end | ||
) |
Definition at line 93 of file shp2pn2.cpp.
qreal latDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 68 of file shp2pn2.cpp.
qreal lonDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 74 of file shp2pn2.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Handle the no. of polygons in multigeom according to whether it contains GeoDataLineString or GeoDataPolygon
Definition at line 139 of file shp2pn2.cpp.
qreal nodeDistance | ( | const GeoDataCoordinates & | A, |
const GeoDataCoordinates & | B | ||
) |
Definition at line 80 of file shp2pn2.cpp.
void printAllNodes | ( | QVector< GeoDataCoordinates >::Iterator | begin, |
QVector< GeoDataCoordinates >::Iterator | end, | ||
QDataStream & | stream | ||
) |
Definition at line 110 of file shp2pn2.cpp.
qint16 printFormat16 | ( | qreal | X | ) |
Definition at line 85 of file shp2pn2.cpp.
qint8 printFormat8 | ( | qreal | X | ) |
Definition at line 89 of file shp2pn2.cpp.
Variable Documentation
qreal epsilon = 1.0 |
Definition at line 63 of file shp2pn2.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.