TerraLib 4.1
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/functions/TeCoordAlgorithms.h File Reference

This file contains algorithms to deal with geographical coordinates. More...

#include "TeFunctionsDefines.h"
#include <string>

Go to the source code of this file.

Functions

TLFUNCTIONS_DLL bool TeLongDMS2DD (char hem, short &dg, short &mn, float &sc, double &grauDec)
 Transform a Longitude Coordinate in degrees, minutes and seconds to decimal degrees.
TLFUNCTIONS_DLL bool TeLatDMS2DD (char hem, short &dg, short &mn, float &sc, double &grauDec)
 Transform a Latitude Coordinate in degrees, minutes and seconds to decimal degrees.

Detailed Description

This file contains algorithms to deal with geographical coordinates.


Function Documentation

TLFUNCTIONS_DLL bool TeLatDMS2DD ( char  hem,
short &  dg,
short &  mn,
float &  sc,
double &  grauDec 
)

Transform a Latitude Coordinate in degrees, minutes and seconds to decimal degrees.

Parameters:
hema character that indicates West or East
dgdregrees value
mnminutes value
scseconds value
grauDecreturns the decimal degree value
Returns:
TRUE if input is a valid latitude coordinate
TLFUNCTIONS_DLL bool TeLongDMS2DD ( char  hem,
short &  dg,
short &  mn,
float &  sc,
double &  grauDec 
)

Transform a Longitude Coordinate in degrees, minutes and seconds to decimal degrees.

Parameters:
hema character that indicates North or South hemisphere
dgdregrees value
mnminutes value
scseconds value
grauDecreturns the decimal degree value
Returns:
TRUE if input is a valid longitude coordinate
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines