| TerraLib 4.1

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

- File List
- File Members

Namespaces | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeOverlay.h File Reference

This file contains structures and definitions for set operation on polygons. More...

`#include "TeMultiGeometry.h"`

Go to the source code of this file.

## Namespaces

namespace | TeOVERLAY

| Contains structures and definitions needed to execute Set Operations for polygons and lines (union, intersection e difference).

## Functions

TL_DLL bool | TeOVERLAY::TeOverlay (const TePolygonSet &redPols, const TePolygonSet &bluePols, TePolygonSet &polsOut, const short &operation)
| Executes one of the possible Set Operations on polygons.
TL_DLL bool | TeOVERLAY::TeUnion (TePolygonSet &redPols, TePolygonSet &bluePols, TePolygonSet &polsOut)
| Calculates the union Set Operation for polygons.
TL_DLL bool | TeOVERLAY::TeIntersection (const TePolygonSet &redPols, const TePolygonSet &bluePols, TePolygonSet &polsOut)
| Calculates the intersection Set Operation for polygons.
TL_DLL bool | TeOVERLAY::TeDifference (TePolygonSet &redPols, TePolygonSet &bluePols, TePolygonSet &polsOut)
| Calculates the difference set operation for polygons (redPols minus bluePols).
TL_DLL TeMultiGeometry | TeOVERLAY::TeOverlay (const TeLineSet &redLines, const TePolygonSet &bluePols, const short &operation)
| Executes one of the possible Set Operations for lines and polygons.
TL_DLL TeMultiGeometry | TeOVERLAY::TeUnion (TeLineSet &redLines, TePolygonSet &bluePols)
| Calculates the union set operation for lines and polygons.
TL_DLL TeMultiGeometry | TeOVERLAY::TeIntersection (TeLineSet &redLines, TePolygonSet &bluePols)
| Calculates the intersection set operation for lines and polygons.
TL_DLL TeMultiGeometry | TeOVERLAY::TeDifference (TeLineSet &redLines, TePolygonSet &bluePols)
| Calculates the defference set operation for lines and polygons.
TL_DLL bool | TeOVERLAY::TeUnion (TePolygonSet &polsIn, TePolygonSet &polsOut, const bool &makeCopy=true, const bool fixOrientation=true)
| Calculates the union of all polygons passed in polsIn parameter, and returns a polygon set (polsOut).
TL_DLL bool | TeOVERLAY::TeIntersection (TePolygonSet &redPols, vector< TePolygonSet > &bluePols, vector< TePolygonSet > &vecPolsOut, vector< bool > &resultVec, const bool &makeCopy=true, const bool fixOrientation=true)
| Calculates the intersection set operation for polygons. This version of intersection will reuse some pre-processing of redPols, and will do intersection between redPols and each polygonset in bluePols vector. The result of each individual operation (redPols x a polygonset from the blue vector) will be store in the output vector in the same order of polygonsets in bluePols. If an intersection is empty, an empty polygonset will be stored to indicate this.
TL_DLL bool | TeOVERLAY::TeUnion (TePolygonSet &redPols, vector< TePolygonSet > &bluePols, vector< TePolygonSet > &vecPolsOut, vector< bool > &resultVec, const bool &makeCopy=true, const bool fixOrientation=true)
| Calculates the union set operation for polygons. This version of union will reuse some pre-processing of redPols, and will do union between redPols and each polygonset in bluePols. The result of each individual operation (redPols x a polygonset from the blue vector) will be store in the output vector in the same order of polygonsets in bluePols.
TL_DLL bool | TeOVERLAY::TeDifference (TePolygonSet &redPols, vector< TePolygonSet > &bluePols, vector< TePolygonSet > &vecPolsOut, vector< bool > &resultVec, const bool &makeCopy=true, const bool fixOrientation=true)
| Calculates the difference set operation for polygons. This version of difference will reuse some pre-processing of redPols, and will do difference between redPols and each polygonset in bluePols vector. The result of each individual operation (redPols x a polygonset from the blue vector) will be store in the output vector in the same order of polygonsets in bluePols. If an intersection is empty, an empty polygonset will be stored to indicate this.
TL_DLL bool | TeOVERLAY::TePairUnion (TePolygonSet &psetIn, TePolygonSet &psetOut)
| Calculates the union of all polygons passed in polsIn parameter, and returns a polygon set (polsOut). This type of union use a different strategy from the previous one: do union for each pair and then repeat until we have only two pairs.
TL_DLL bool | TeOVERLAY::TeValidPolygonHoles (TePolygon &polygon, TePolygonSet &psValid)
| Valid polygon holes: if they have a commom edge, they will be joined (THIS IS FOR INTERNAL USE ONLY).
TL_DLL bool | TeOVERLAY::TeValidPolygonHoles (TePolygonSet &polygons, TePolygonSet &psValid)
| Valid polygon holes: if they have a commom edge, they will be joined (THIS IS FOR INTERNAL USE ONLY).

## Detailed Description

This file contains structures and definitions for set operation on polygons.

Author:
  Gilberto Ribeiro de Queiroz <gribeiro@dpi.inpe.br>

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines