| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Functions
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:

  hem | a character that indicates West or East
  dg | dregrees value
  mn | minutes value
  sc | seconds value
  grauDec | returns 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:

  hem | a character that indicates North or South hemisphere
  dg | dregrees value
  mn | minutes value
  sc | seconds value
  grauDec | returns the decimal degree value

Returns:
  TRUE if input is a valid longitude coordinate

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines