marble
#include <GeoPolygon.h>
Inherits Vector.
Public Types | |
enum | DateLineCrossing { None, Odd, Even } |
typedef QVector< GeoPolygon * > | PtrVector |
Public Member Functions | |
GeoPolygon () | |
virtual | ~GeoPolygon () |
void | displayBoundary () |
GeoDataCoordinates::PtrVector | getBoundary () const |
bool | getClosed () const |
int | getDateLine () const |
int | getIndex () const |
void | setBoundary (qreal, qreal, qreal, qreal) |
void | setClosed (bool closed) |
void | setDateLine (int dateLineCrossing) |
void | setIndex (int index) |
Detailed Description
Definition at line 33 of file GeoPolygon.h.
Member Typedef Documentation
typedef QVector<GeoPolygon *> Marble::GeoPolygon::PtrVector |
Definition at line 73 of file GeoPolygon.h.
Member Enumeration Documentation
enum used to specify how a polyline crosses the IDL
"None" means that the polyline doesn't cross the International Dateline (IDL).
"Odd" means that the polyline crosses the IDL. The number of times that the IDL is being crossed is odd. As a result the polyline covers the whole range of longitude and the feature described by the polyline contains one of the poles (example: Antarctica). International Dateline (IDL). "Even" means that each time the polyline crosses the IDL it also returns back to the original side later on by crossing the IDL again (example: Russia).
Enumerator | |
---|---|
None | |
Odd | |
Even |
Definition at line 56 of file GeoPolygon.h.
Constructor & Destructor Documentation
GeoPolygon::GeoPolygon | ( | ) |
Definition at line 38 of file GeoPolygon.cpp.
|
virtual |
Definition at line 45 of file GeoPolygon.cpp.
Member Function Documentation
void GeoPolygon::displayBoundary | ( | ) |
Definition at line 77 of file GeoPolygon.cpp.
|
inline |
Definition at line 68 of file GeoPolygon.h.
|
inline |
Definition at line 59 of file GeoPolygon.h.
|
inline |
Definition at line 64 of file GeoPolygon.h.
|
inline |
Definition at line 58 of file GeoPolygon.h.
void GeoPolygon::setBoundary | ( | qreal | lonLeft, |
qreal | latTop, | ||
qreal | lonRight, | ||
qreal | latBottom | ||
) |
Definition at line 51 of file GeoPolygon.cpp.
|
inline |
Definition at line 60 of file GeoPolygon.h.
|
inline |
Definition at line 65 of file GeoPolygon.h.
|
inline |
Definition at line 62 of file GeoPolygon.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.