class Geo

# class Geo | Geographic position. More...
Full name | `KABC::Geo`
Definition | `#include <geo.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- Geo ()
- Geo ( float latitude, float longitude )
- void setLatitude ( float )
- float latitude () const
- void setLongitude ( float )
- float longitude () const
- bool isValid () const
- bool operator== ( const Geo & ) const
- bool operator!= ( const Geo & ) const
- QString asString () const

## Detailed Description

This class represents a geographic position.

Geo () | ### Geo

Construct invalid geographics position object.

Geo ( float latitude, float longitude ) | ### Geo

Construct geographics position object.

Parameters:

latitude | Geographical latitude
longitude | Geographical longitude

void setLatitude ( float ) | ### setLatitude

Sets the latitude.

float latitude () | ### latitude

[const]

Returns the latitude.

void setLongitude ( float ) | ### setLongitude

Sets the longitude.

float longitude () | ### longitude

[const]

Returns the longitude.

bool isValid () | ### isValid

[const]

Returns, if this object contains a valid geographical position.

bool operator== ( const Geo & ) | ### operator==

[const]

bool operator!= ( const Geo & ) | ### operator!=

[const]

QString asString () | ### asString

[const]

Returns string representation of geographical position.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:38:02 2003, using kdoc 2.0a54.