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

marble/src

GeoPolygon Class Reference

#include <GeoPolygon.h>

Inheritance diagram for GeoPolygon:

Inheritance graph
[legend]

List of all members.


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 GeoPolygon::DateLineCrossing

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 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:
  • GeoPolygon.h
  • GeoPolygon.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal