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

marble

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

#include <GeoDataPoint.h>

Inheritance diagram for Marble::GeoDataPoint:
Inheritance graph
[legend]

Public Types

typedef
GeoDataCoordinates::Notation 
Notation
 
typedef GeoDataCoordinates::Unit Unit
 
typedef QVector< GeoDataPoint > Vector
 

Public Member Functions

 GeoDataPoint (const GeoDataPoint &other)
 
 GeoDataPoint (const GeoDataCoordinates &other)
 
 GeoDataPoint (const GeoDataGeometry &other)
 
 GeoDataPoint ()
 
 GeoDataPoint (qreal lon, qreal lat, qreal alt=0, GeoDataPoint::Unit _unit=GeoDataCoordinates::Radian)
 
 ~GeoDataPoint ()
 
const GeoDataCoordinates & coordinates () const
 
virtual void detach ()
 
virtual const char * nodeType () const
 
virtual void pack (QDataStream &stream) const
 
void setCoordinates (const GeoDataCoordinates &coordinates)
 
virtual void unpack (QDataStream &stream)
 
- Public Member Functions inherited from Marble::GeoDataGeometry
 GeoDataGeometry ()
 
 GeoDataGeometry (const GeoDataGeometry &other)
 
virtual ~GeoDataGeometry ()
 
AltitudeMode altitudeMode () const
 
void detach ()
 
bool extrude () const
 
virtual EnumGeometryId geometryId () const
 
virtual const GeoDataLatLonAltBox & latLonAltBox () const
 
GeoDataGeometry & operator= (const GeoDataGeometry &other)
 
void setAltitudeMode (const AltitudeMode altitudeMode)
 
void setExtrude (bool extrude)
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
int id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (int value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (int value)
 
int targetId () const
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Detailed Description

A Geometry object representing a 3d point.

GeoDataPoint is the GeoDataGeometry class representing a single three dimensional point. It reflects the Point tag of KML spec and can be contained in objects holding GeoDataGeometry objects. Nevertheless GeoDataPoint shouldn't be used if you just want to store 3d coordinates of a point that doesn't need to be inherited from GeoDataGeometry In that case use GeoDataCoordinates instead which has nearly the same features and is much more light weight. Please consider this especially if you expect to have a high amount of points e.g. for line strings, linear rings and polygons.

See also
GeoDataCoordinates
GeoDataGeometry

Definition at line 47 of file GeoDataPoint.h.

Member Typedef Documentation

typedef GeoDataCoordinates::Notation Marble::GeoDataPoint::Notation

Definition at line 50 of file GeoDataPoint.h.

typedef GeoDataCoordinates::Unit Marble::GeoDataPoint::Unit

Definition at line 51 of file GeoDataPoint.h.

typedef QVector<GeoDataPoint> Marble::GeoDataPoint::Vector

Definition at line 79 of file GeoDataPoint.h.

Constructor & Destructor Documentation

Marble::GeoDataPoint::GeoDataPoint ( const GeoDataPoint &  other)

Definition at line 40 of file GeoDataPoint.cpp.

Marble::GeoDataPoint::GeoDataPoint ( const GeoDataCoordinates &  other)
explicit

Definition at line 48 of file GeoDataPoint.cpp.

Marble::GeoDataPoint::GeoDataPoint ( const GeoDataGeometry &  other)
explicit

Definition at line 55 of file GeoDataPoint.cpp.

Marble::GeoDataPoint::GeoDataPoint ( )

Definition at line 60 of file GeoDataPoint.cpp.

Marble::GeoDataPoint::GeoDataPoint ( qreal  lon,
qreal  lat,
qreal  alt = 0,
GeoDataPoint::Unit  _unit = GeoDataCoordinates::Radian 
)

create a geopoint from longitude and latitude

Parameters
_lonlongitude
_latlatitude
altaltitude (default: 0)
_unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Definition at line 32 of file GeoDataPoint.cpp.

Marble::GeoDataPoint::~GeoDataPoint ( )

Definition at line 65 of file GeoDataPoint.cpp.

Member Function Documentation

const GeoDataCoordinates & Marble::GeoDataPoint::coordinates ( ) const

Definition at line 75 of file GeoDataPoint.cpp.

void Marble::GeoDataPoint::detach ( )
virtual

Definition at line 90 of file GeoDataPoint.cpp.

const char * Marble::GeoDataPoint::nodeType ( ) const
virtual

Provides type information for downcasting a GeoData.

Reimplemented from Marble::GeoDataGeometry.

Definition at line 85 of file GeoDataPoint.cpp.

void Marble::GeoDataPoint::pack ( QDataStream &  stream) const
virtual

Serialize the contents of the feature to stream.

Reimplemented from Marble::GeoDataGeometry.

Definition at line 95 of file GeoDataPoint.cpp.

void Marble::GeoDataPoint::setCoordinates ( const GeoDataCoordinates &  coordinates)

Definition at line 69 of file GeoDataPoint.cpp.

void Marble::GeoDataPoint::unpack ( QDataStream &  stream)
virtual

Unserialize the contents of the feature from stream.

Reimplemented from Marble::GeoDataGeometry.

Definition at line 100 of file GeoDataPoint.cpp.


The documentation for this class was generated from the following files:
  • GeoDataPoint.h
  • GeoDataPoint.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