| TerraLib 4.1

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

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

Public Member Functions
TeGTMGridDatum Class Reference

TeGTMGridDatum class with projection/datum informations. More...

`#include <TeGTM.h>`

List of all members.

## Public Member Functions

| TeGTMGridDatum ()
| Constructor.
| ~TeGTMGridDatum ()
| Destructor.
void | readGTMGridDatum (FILE *file)
| GridDatum reader.
void | writeGTMGridDatum (FILE *file)
| GridDatum writer.
short | getNgrid ()
| ngrid_ attribute Getter
void | setNgrid (short ngrid)
| ngrid_ attribute Setter
short | getNdatum ()
| ndatum_ attribute Getter
void | setNdatum (short ndatum)
| ndatum_ attribute Setter
short | getDx ()
| dx_ attribute Getter
void | setDx (short dx)
| dx_ attribute Setter
short | getDy ()
| dy_ attribute Getter
void | setDy (short dy)
| dy_ attribute Setter
short | getDz ()
| dz_ attribute Getter
void | setDz (short dz)
| dz_ attribute Setter
double | getOrigin ()
| origin_ attribute Getter
void | setOrigin (double origin)
| origin_ attribute Setter
double | getFalseeast ()
| falseeast_ attribute Getter
void | setFalseeast (double falseeast)
| falseeast_ attribute Setter
double | getScale1 ()
| scale1_ attribute Getter
void | setScale1 (double scale1)
| scale1_ attribute Setter
double | getFalsenorthing ()
| falsenorthing_ attribute Getter
void | setFalsenorthing (double falsenorthing)
| falsenorthing_ attribute Setter
double | getAxis ()
| axis_ attribute Getter
void | setAxis (double axis)
| axis_ attribute Setter
double | getFlattening ()
| flattening_ attribute Getter
void | setFlattening (double flattening)
| flattening_ attribute Setter

## Detailed Description

TeGTMGridDatum class with projection/datum informations.

Attributes used Ngrid - Integer Number of the predefined grid. See the table below. Origin - Double User Grid - Longitude of origin falseeast - Double User Grid – False Easting scale1 - Double User Grid – Scale Factor falsenorthing - Double User Grid – False Northing (Set to 0) ndatum - Integer Number of Predefined Datum, which the data were stored in GTM File. axis - Double User Datum – Major Semi-Axe of the Earth (Set to 0) flattenig - Double User Datum – Flattening of the Earth (Set to 0) dx - Integer User Datum – Delta X (Set to 0) dy - Integer User Datum – Delta Y (Set to 0) dz - Integer User Datum – Delta Z (Set to 0)

Author:
  Luiz Claudio Oliveira de Andrade <lcoandrade@gmail.com>

## Constructor & Destructor Documentation

TeGTMGridDatum::TeGTMGridDatum | ( |  | ) |

Constructor.

TeGTMGridDatum::~TeGTMGridDatum | ( |  | ) |

Destructor.

## Member Function Documentation

double TeGTMGridDatum::getAxis | ( |  | ) | `[inline]`

axis_ attribute Getter

short TeGTMGridDatum::getDx | ( |  | ) | `[inline]`

dx_ attribute Getter

short TeGTMGridDatum::getDy | ( |  | ) | `[inline]`

dy_ attribute Getter

short TeGTMGridDatum::getDz | ( |  | ) | `[inline]`

dz_ attribute Getter

double TeGTMGridDatum::getFalseeast | ( |  | ) | `[inline]`

falseeast_ attribute Getter

double TeGTMGridDatum::getFalsenorthing | ( |  | ) | `[inline]`

falsenorthing_ attribute Getter

double TeGTMGridDatum::getFlattening | ( |  | ) | `[inline]`

flattening_ attribute Getter

short TeGTMGridDatum::getNdatum | ( |  | ) | `[inline]`

ndatum_ attribute Getter

short TeGTMGridDatum::getNgrid | ( |  | ) | `[inline]`

ngrid_ attribute Getter

double TeGTMGridDatum::getOrigin | ( |  | ) | `[inline]`

origin_ attribute Getter

double TeGTMGridDatum::getScale1 | ( |  | ) | `[inline]`

scale1_ attribute Getter

void TeGTMGridDatum::readGTMGridDatum | ( | FILE * | file | ) |

GridDatum reader.

Parameters:

  file | pointer to a FILE* with the .gtm file to be imported.

void TeGTMGridDatum::setAxis | ( | double | axis | ) | `[inline]`

axis_ attribute Setter

Parameters:

  axis. |

void TeGTMGridDatum::setDx | ( | short | dx | ) | `[inline]`

dx_ attribute Setter

Parameters:

  dz. |

void TeGTMGridDatum::setDy | ( | short | dy | ) | `[inline]`

dy_ attribute Setter

Parameters:

  dy. |

void TeGTMGridDatum::setDz | ( | short | dz | ) | `[inline]`

dz_ attribute Setter

Parameters:

  dz. |

void TeGTMGridDatum::setFalseeast | ( | double | falseeast | ) | `[inline]`

falseeast_ attribute Setter

Parameters:

  falseeast. |

void TeGTMGridDatum::setFalsenorthing | ( | double | falsenorthing | ) | `[inline]`

falsenorthing_ attribute Setter

Parameters:

  falsenorthing. |

void TeGTMGridDatum::setFlattening | ( | double | flattening | ) | `[inline]`

flattening_ attribute Setter

Parameters:

  flattening. |

void TeGTMGridDatum::setNdatum | ( | short | ndatum | ) | `[inline]`

ndatum_ attribute Setter

Parameters:

  ndatum | - Integer Number of Predefined Datum.

void TeGTMGridDatum::setNgrid | ( | short | ngrid | ) | `[inline]`

ngrid_ attribute Setter

Parameters:

  ngrid | - Integer Number of the predefined grid.

void TeGTMGridDatum::setOrigin | ( | double | origin | ) | `[inline]`

origin_ attribute Setter

Parameters:

  origin. |

void TeGTMGridDatum::setScale1 | ( | double | scale1 | ) | `[inline]`

scale1_ attribute Setter

Parameters:

  scale1. |

void TeGTMGridDatum::writeGTMGridDatum | ( | FILE * | file | ) |

GridDatum writer.

Parameters:

  file | pointer to a FILE* with the .gtm file to be exported.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines