OverlapFixerReport is a class containing algorithms to detect and fix overlaps from a list of polygons or multipolygons.
More...
#include <OverlapFixer.h>
|
static te::gm::GeometryVector | detectOverlaps (const std::vector< GeometryInfoOverlap * > &vecGeometries) |
| Internal method that detects all the existing overlaps from the given geometries.
|
|
static te::gm::GeometryVector | fixFragmentsOverlaps (const te::gm::GeometryVector &vecFragments) |
| Internal method to fix the possible overlaps within the intersection fragments themselves.
|
|
static te::gm::GeometryVector | fixOverlaps (std::vector< GeometryInfoOverlap * > &vecGeometries) |
| Internal method to fix the existing overlaps of the polygons ou multipolygons from the given vecGeometries vector.
|
|
static void | fixOverlaps (std::vector< GeometryInfoOverlap * > &vecGeometries, const te::gm::GeometryVector &vecFragments) |
| Internal method to fix the existing overlaps of the polygons ou multipolygons from the given vecGeometries vector considering the given intersection fragments.
|
|
OverlapFixerReport is a class containing algorithms to detect and fix overlaps from a list of polygons or multipolygons.
Definition at line 80 of file OverlapFixer.h.
◆ detectOverlaps() [1/2]
static te::gm::GeometryVector te::vp::OverlapFixer::detectOverlaps |
( |
const std::vector< GeometryInfoOverlap * > & |
vecGeometries | ) |
|
|
staticprotected |
Internal method that detects all the existing overlaps from the given geometries.
- Parameters
-
vecGeometries | The input geometries to be analysed |
- Returns
- A vector containing the intersection fragments
◆ detectOverlaps() [2/2]
Detects all the existing overlaps from the given geometries.
- Parameters
-
vecGeometries | The input geometries to be analysed |
- Returns
- A vector containing the intersection fragments
◆ fix()
Fix the existing overlaps of the polygons ou multipolygons from the given vecGeometries vector.
- Parameters
-
vecGeometries | The input geometries to be analysed |
- Returns
- A vector containing the fixed geometries
◆ fixFragmentsOverlaps()
Internal method to fix the possible overlaps within the intersection fragments themselves.
- Parameters
-
vecFragments | A vector containing all detected intersection fragments |
- Returns
- A vector containing the intersection fragments without any overlaps between the geometries
◆ fixOverlaps() [1/2]
static te::gm::GeometryVector te::vp::OverlapFixer::fixOverlaps |
( |
std::vector< GeometryInfoOverlap * > & |
vecGeometries | ) |
|
|
staticprotected |
Internal method to fix the existing overlaps of the polygons ou multipolygons from the given vecGeometries vector.
- Parameters
-
vecGeometries | The input geometries to be analysed |
- Returns
- A vector containing the fixed geometries
◆ fixOverlaps() [2/2]
static void te::vp::OverlapFixer::fixOverlaps |
( |
std::vector< GeometryInfoOverlap * > & |
vecGeometries, |
|
|
const te::gm::GeometryVector & |
vecFragments |
|
) |
| |
|
staticprotected |
Internal method to fix the existing overlaps of the polygons ou multipolygons from the given vecGeometries vector considering the given intersection fragments.
- Parameters
-
vecGeometries | The input geometries to be fixed |
vecFragments | The intersection fragments to be used to fix the geometries |
◆ hasOverlaps()
Algorithm to detect overlaps. This algorith does a deep and exausting geometry analysis and doesnt generate false positives.
- Parameters
-
geometryA | The input geometry A |
geometryB | The input geometry B |
- Returns
- TRUE if there is at least one overlap between the given geometries. FALSE otherwise
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vp/OverlapFixer.h