marble/src
GeoPolygon Class Reference
#include <GeoPolygon.h>

Detailed Description
Definition at line 27 of file GeoPolygon.h.
Public Types | |
| enum | DateLineCrossing { None, Odd, Even } |
| typedef QVector< GeoPolygon * > | PtrVector |
Public Member Functions | |
| GeoPolygon () | |
| ~GeoPolygon () | |
| int | getIndex () const |
| bool | getClosed () const |
| void | setClosed (bool closed) |
| void | setIndex (int index) |
| int | getDateLine () const |
| void | setDateLine (int dateLineCrossing) |
| void | setBoundary (double, double, double, double) |
| GeoDataPoint::Vector | getBoundary () const |
| void | displayBoundary () |
Member Typedef Documentation
| typedef QVector<GeoPolygon *> GeoPolygon::PtrVector |
Definition at line 67 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).
Definition at line 50 of file GeoPolygon.h.
Constructor & Destructor Documentation
| GeoPolygon::GeoPolygon | ( | ) |
Definition at line 33 of file GeoPolygon.cpp.
| GeoPolygon::~GeoPolygon | ( | ) |
Definition at line 45 of file GeoPolygon.cpp.
Member Function Documentation
| int GeoPolygon::getIndex | ( | ) | const [inline] |
Definition at line 52 of file GeoPolygon.h.
| bool GeoPolygon::getClosed | ( | ) | const [inline] |
Definition at line 53 of file GeoPolygon.h.
| void GeoPolygon::setClosed | ( | bool | closed | ) | [inline] |
Definition at line 54 of file GeoPolygon.h.
| void GeoPolygon::setIndex | ( | int | index | ) | [inline] |
Definition at line 56 of file GeoPolygon.h.
| int GeoPolygon::getDateLine | ( | ) | const [inline] |
Definition at line 58 of file GeoPolygon.h.
| void GeoPolygon::setDateLine | ( | int | dateLineCrossing | ) | [inline] |
Definition at line 59 of file GeoPolygon.h.
| void GeoPolygon::setBoundary | ( | double | lonLeft, | |
| double | latTop, | |||
| double | lonRight, | |||
| double | latBottom | |||
| ) |
Definition at line 49 of file GeoPolygon.cpp.
| GeoDataPoint::Vector GeoPolygon::getBoundary | ( | ) | const [inline] |
Definition at line 62 of file GeoPolygon.h.
| void GeoPolygon::displayBoundary | ( | ) |
Definition at line 77 of file GeoPolygon.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference