KDE 4.4 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

GeoDataLookAt Class Reference

from PyKDE4.marble import *

Inherits: Marble.GeoDataAbstractView → Marble.GeoDataObject → Marble.GeoNode
Namespace: Marble.GeoDataLookAt

Detailed Description


Methods

 __init__ (self)
float altitude (self)
Marble.GeoDataCoordinates coordinate (self)
float latitude (self, Marble.GeoDataCoordinates.Unit unit=Marble.GeoDataCoordinates.Radian)
float longitude (self, Marble.GeoDataCoordinates.Unit unit=Marble.GeoDataCoordinates.Radian)
 setAltitude (self, float altitude)
 setLatitude (self, float latitude, Marble.GeoDataCoordinates.Unit unit=Marble.GeoDataCoordinates.Radian)
 setLongitude (self, float longitude, Marble.GeoDataCoordinates.Unit unit=Marble.GeoDataCoordinates.Radian)

Method Documentation

__init__ (   self )
float altitude (   self )

retrieves the altitude of the GeoDataLookAt object

Returns:
latitude

Marble.GeoDataCoordinates coordinate (   self )

retrieves the pointer to GeoDataCoordinates object of the GeoDataLookAt object

Returns:
GeoDataCoordinates*

float latitude (  self,
Marble.GeoDataCoordinates.Unit  unit=Marble.GeoDataCoordinates.Radian
)

retrieves the latitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters:
unit  units that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Returns:
latitude

float longitude (  self,
Marble.GeoDataCoordinates.Unit  unit=Marble.GeoDataCoordinates.Radian
)

retrieves the longitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters:
unit  units that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Returns:
latitude

setAltitude (  self,
float  altitude
)

set the altitude in a GeoDataLookAt object

Parameters:
altitude  latitude

setLatitude (  self,
float  latitude,
Marble.GeoDataCoordinates.Unit  unit=Marble.GeoDataCoordinates.Radian
)

set the latitude in a GeoDataLookAt object

Parameters:
latitude  latitude
unit  units that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

setLongitude (  self,
float  longitude,
Marble.GeoDataCoordinates.Unit  unit=Marble.GeoDataCoordinates.Radian
)

set the longitude in a GeoDataLookAt object

Parameters:
longitude  longitude
unit  units that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

  • Full Index

Modules

  • marble
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal