![]() |
TerraLib 4.1
|
Contains decoding/encoding functions for TerraLib geometries into WKT-like geometries. More...
Functions | |
Encoding Methods | |
Methods used to encode TeGeometry objects into strings in WKT format. | |
| TLUTILS_DLL void | encodePolygon (const TePolygon &polygon, string &wktPoly) |
| Encodes a TePolygon into a WKT. | |
| TLUTILS_DLL void | encodeLine (const TeLine2D &line, string &wktLine) |
| Encodes a TeLine2D into a WKT. | |
| TLUTILS_DLL void | encodePoint (const TeCoord2D &point, string &wktPoint) |
| Encodes a TeCoord2D into a WKT. | |
Decoding Methods | |
Methods used to decode strings in WKT format into code TeGeometry objects. | |
| TLUTILS_DLL void | decodePolygon (const string &wktPoly, TePolygon &poly) |
| Decodes a WKT into a TePolygon object. | |
| TLUTILS_DLL void | decodeLine (const string &wktLine, TeLine2D &line) |
| Decodes a WKT into a TeLine2D object. | |
| TLUTILS_DLL void | decodePoint (const string &wktPoint, TeCoord2D &point) |
| Decodes a WKT into a TeCoord2D object. | |
Contains decoding/encoding functions for TerraLib geometries into WKT-like geometries.
WKT format is used to struct information about geometries in well-know manner. It is an interchange format. For more information about WKT format see WKT representation..