| 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/utils/TeWKBGeometryDecoder.cpp File Reference
`#include "TeWKBGeometryDecoder.h"`
`#include "../kernel/TeGeometry.h"`
`#include "../kernel/TeException.h"`
`#include <netinet/in.h>`
`#include <cstring>`

## Functions

bool | isLittleEndian ()
unsigned int | SwapUInt (const unsigned int &uintVal)
void | encodeRing (const TeLine2D &line, char *&wkbLine, unsigned int &size)
void | decodeCoord (const char *&wkb, TeCoord2D &point, const char &byteOrder, unsigned int &readBytes)
void | decodeRing (const char *&wkb, TeLine2D &line, const char &byteOrder, const int &lineSize, unsigned int &readBytes)
void | getWKBHeader (const char *&wkb, char &byteOrder, unsigned int &wkbType, unsigned int &numGeometries)

## Function Documentation

void decodeCoord | ( | const char *& | wkb,
|  | TeCoord2D & | point,
|  | const char & | byteOrder,
|  | unsigned int & | readBytes
| ) |  |

void decodeRing | ( | const char *& | wkb,
|  | TeLine2D & | line,
|  | const char & | byteOrder,
|  | const int & | lineSize,
|  | unsigned int & | readBytes
| ) |  |

void encodeRing | ( | const TeLine2D & | line,
|  | char *& | wkbLine,
|  | unsigned int & | size
| ) |  |

void getWKBHeader | ( | const char *& | wkb,
|  | char & | byteOrder,
|  | unsigned int & | wkbType,
|  | unsigned int & | numGeometries
| ) |  |

bool isLittleEndian | ( |  | ) |

unsigned int SwapUInt | ( | const unsigned int & | uintVal | ) |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines