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

marble

  • Marble
  • GeoPolygon
Public Types | Public Member Functions | List of all members
Marble::GeoPolygon Class Reference

#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 Marble::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 56 of file GeoPolygon.h.

Constructor & Destructor Documentation

GeoPolygon::GeoPolygon ( )

Definition at line 38 of file GeoPolygon.cpp.

GeoPolygon::~GeoPolygon ( )
virtual

Definition at line 45 of file GeoPolygon.cpp.

Member Function Documentation

void GeoPolygon::displayBoundary ( )

Definition at line 77 of file GeoPolygon.cpp.

GeoDataCoordinates::PtrVector Marble::GeoPolygon::getBoundary ( ) const
inline

Definition at line 68 of file GeoPolygon.h.

bool Marble::GeoPolygon::getClosed ( ) const
inline

Definition at line 59 of file GeoPolygon.h.

int Marble::GeoPolygon::getDateLine ( ) const
inline

Definition at line 64 of file GeoPolygon.h.

int Marble::GeoPolygon::getIndex ( ) const
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.

void Marble::GeoPolygon::setClosed ( bool  closed)
inline

Definition at line 60 of file GeoPolygon.h.

void Marble::GeoPolygon::setDateLine ( int  dateLineCrossing)
inline

Definition at line 65 of file GeoPolygon.h.

void Marble::GeoPolygon::setIndex ( int  index)
inline

Definition at line 62 of file GeoPolygon.h.


The documentation for this class was generated from the following files:
  • GeoPolygon.h
  • GeoPolygon.cpp
This file is part of the KDE documentation.
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.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal