| TerraLib 4.1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeUtm Class Reference

Provides methods that are required to handle the UTM map projection. More...

`#include <TeProjection.h>`

Inheritance diagram for TeUtm:

List of all members.

## Public Member Functions

| TeUtm (const TeDatum &datum, double long0, double lat0=0., double offx=500000., double offy=10000000., const string &units="Meters", double scale=0.9996, TeHemisphere hemisphere=TeSOUTH_HEM)
| Constructor.
| ~TeUtm ()
| Destructor.
virtual TeCoord2D | LL2PC (const TeCoord2D &p)
| This implementation of a pure virtual method defined in Projection transforms geodetic into UTM coordinates.
virtual TeCoord2D | PC2LL (const TeCoord2D &p)
| This implementation of a pure virtual method defined in.

## Detailed Description

Provides methods that are required to handle the UTM map projection.

Specifies methods that are necessary to establish the relation between geodetic and UTM coordinates. UTM is a conformal projection system that uses the planimetric datum Sad69 or Corrego Alegre (Hayford ellipsoid).

See also:
  TeCoord2D TeDatum TeProjection.

Examples:

  convertCoordinates.cpp, and createLayer.cpp.

## Constructor & Destructor Documentation

TeUtm::TeUtm | ( | const TeDatum & | datum,
|  | double | long0,
|  | double | lat0 = `0.`,
|  | double | offx = `500000.`,
|  | double | offy = `10000000.`,
|  | const string & | units = `"Meters"`,
|  | double | scale = `0.9996`,
|  | TeHemisphere | hemisphere = `TeSOUTH_HEM`
| ) |  |

Constructor.

Initializes projection parameters

Parameters:

  datum | spheroid
  long0 | longitude of origin (in radians)
  lat0 | latitude of origin (in radians)
  offx | X (projection coordinate) offset (m)
  offy | Y (projection coordinate) offset (m)
  units | projection unit
  scale | scale (used for UTM)
  hemisphere | hemisphere

TeUtm::~TeUtm | ( |  | ) | `[inline]`

Destructor.

## Member Function Documentation

TeCoord2D TeUtm::LL2PC | ( | const TeCoord2D & | p | ) | `[virtual]`

This implementation of a pure virtual method defined in Projection transforms geodetic into UTM coordinates.

Parameters:

  p | Geodetic coordinates (rad).

Returns:
  p: UTM coordinates (m).

Note:
  Geodetic coordinates must be a valid latitude ([0,pi/2] or [0,-pi/2]) and a valid longitude ([0,pi] or [0,-pi]). Conventional UTM offsets (500,000 m and 10,000,000 m) are always added to the resulting projection coordinates.

Implements TeProjection.

Examples:
  convertCoordinates.cpp.

TeCoord2D TeUtm::PC2LL | ( | const TeCoord2D & | p | ) | `[virtual]`

This implementation of a pure virtual method defined in.

Implements TeProjection.

Examples:
  convertCoordinates.cpp.

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeProjection.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeProjection.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines