| TerraLib 4.1

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

Functions
Functions that return geometries.
Geometry algorithms

## Functions

TL_DLL TePolygon | TeMakePolygon (const TeBox &b)
| Given a box return its polygon representation.
TL_DLL TeLinearRing | TeSimpleClosedPath (const TePointSet &pSet)
| Given N points, finds a path that doesn't self-intersects.

## Detailed Description

Functions that return geometries.

## Function Documentation

TL_DLL TePolygon TeMakePolygon | ( | const TeBox & | b | ) |

Given a box return its polygon representation.

Parameters:

  b | The box to create a polygon.

TL_DLL TeLinearRing TeSimpleClosedPath | ( | const TePointSet & | pSet | ) |

Given N points, finds a path that doesn't self-intersects.

Note:
  Given N points, finds a path that doesn't self-intersects, visiting all points and returning to the begginning one. It is based on the book Algorithms by Robert Sedgewick, Addisson-Wesley, 1988;

Parameters:

  pSet | The point set to form a path.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines