[Kflog Index] [Kflog Hierarchy] [Headers]
This class provides basic functions for handling the different coordinates More...
#include <coords.h>
Inherits: QObject (qt)
This class provides basic functions for handling the different coordinates.
[public]
***************************************************************************\n ***************************************************************************\n
[public]
set the type of projection either to "Lambert" or to "Mercator"
[public]
returns TRUE, if current projectiontype ist Lambert
[public]
returns TRUE, if current projectiontype ist Mercator
[public]
Converts the longitute or latitute into the internal format suitable for the Location-class. "degree" is a string in the format: [g]gg.mm'ss"X where g,m,s are any digits from 0 to 9 and X is one of N, S, E, W
[public]
Convert internal representation to radians.
[public]
Calculates the coordinates for drawing.
[public]
Returns the x-coordinate for the Lambert-projection
[public]
Returns the y-coordinate for the Lambert-projection
[public]
Returns the x-coordinates for the Mercator-projection.
[public]
Returns the y-coordinates for the Mercator-projection.
Note: We return negative values, because the the point (0/0) is the upper left corner of the painter. Therefore we must mirror the coordinates.
[public]
Converts radians to degree.
[public]
Converts degree to radians.
[public]
Returns the pointlist
[private]
The earth's radius used for calculation.
[private]
standard parallels for conical projection
[private]
The second standard parallel. It doesn't matter which one is which.
[private]
contains the current projectiontype
| Kdoc |