| TerraLib 4.1

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

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

Public Member Functions
TeVirtualEarthMercator Class Reference

Provides methods that are required to handle the Virtual Earth Mercator map projection. More...

`#include <TeProjection.h>`

Inheritance diagram for TeVirtualEarthMercator:

List of all members.

## Public Member Functions

| TeVirtualEarthMercator (const TeDatum &datum, double long0, double lat0=0., double offx=0., double offy=0., double stlat1=0., const string &units="Meters")
| Constructor.
| ~TeVirtualEarthMercator ()
| Destructor.
virtual TeCoord2D | LL2PC (const TeCoord2D &p)
| Pure virtual method that transforms geodetic into projection coordinates.
virtual TeCoord2D | PC2LL (const TeCoord2D &p)
| Pure virtual method that transforms projection into geodetic coordinates.

## Detailed Description

Provides methods that are required to handle the Virtual Earth Mercator map projection.

Specifies methods that are necessary to establish the relation between geodetic and Virtual Earth Mercator coordinates.

## Constructor & Destructor Documentation

TeVirtualEarthMercator::TeVirtualEarthMercator | ( | const TeDatum & | datum,
|  | double | long0,
|  | double | lat0 = `0.`,
|  | double | offx = `0.`,
|  | double | offy = `0.`,
|  | double | stlat1 = `0.`,
|  | const string & | units = `"Meters"`
| ) |  | `[inline]`

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)
  stlat1 | first standard parallel (in radians)
  units | projection unit

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

Destructor.

## Member Function Documentation

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

Pure virtual method that transforms geodetic into projection coordinates.

This method is implemented for each available projection class and represents the so-called direct formulas, which compute projection coordinates from geodetic coordinates.

Parameters:

  p | Geodetic coordinates (radian).

Returns:
  p Projection 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]).

Implements TeProjection.

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

Pure virtual method that transforms projection into geodetic coordinates.

This method is implemented for each available projection class and represents the so-called inverse formulas, which compute geodetic coordinates from projection coordinates.

Parameters:

  p | Projection coordinates (m).

Returns:
  p Geodetic coordinates (rad).

Note:
  X and Y projection coordinates must be both valid, within the typical range of each projection class.

Implements TeProjection.

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