Algorithm to snap geometries to each other based on a given tolerance.
More...
#include <GeometrySnapper.h>
Algorithm to snap geometries to each other based on a given tolerance.
- See also
- CoordinateSnapper
Definition at line 55 of file GeometrySnapper.h.
◆ discardNullAndEmptyFeatures()
static void te::vp::GeometrySnapper::discardNullAndEmptyFeatures |
( |
te::vp::FeatureSet & |
featureSet | ) |
|
|
static |
◆ removeSlivers() [1/3]
Algorithm to remove slivers from geometries.
- Parameters
-
geometryVector | The geometry list to be analysed |
tolerance | The tolerance to be considered for detecting the slivers. |
- Returns
- The resulting geometries
◆ removeSlivers() [2/3]
Algorithm to remove slivers from features.
- Parameters
-
vecGeometries | The geometry list to be analysed |
tolerance | The tolerance to be considered for detecting the slivers. |
discardCollapsedFeatures | IF TRUE, all collapsed features will be discarded from the resulting featureSet |
- Returns
- The resulting features Discard all the features that are null or empty
◆ removeSlivers() [3/3]
Algorithm to remove slivers from a geometry.
- Parameters
-
geometry | The geometry to be analysed |
tolerance | The tolerance to be considered for detecting the slivers. |
- Returns
- The resulting geometry
◆ snapFeatures()
Algorithm to snap given features to each other based on a given tolerance. This algorithm will also detect intersection segments between features and create new coordinates when necessary.
- Parameters
-
vecGeometries | The geometry list to be analysed |
tolerance | The tolerance to be considered for the snapping of the coordinates. |
discardCollapsedFeatures | IF TRUE, all collapsed features will be discarded from the resulting featureSet |
- Returns
- The resulting snapped geometries
◆ snapGeometries() [1/2]
Algorithm to snap given geometries to each other based on a given tolerance. This algorithm will also detect intersection segments between geometries and create new coordinates when necessary.
- Parameters
-
geometryVector | The geometry list to be analysed |
tolerance | The tolerance to be considered for the snapping of the coordinates. |
- Returns
- The resulting snapped geometries
◆ snapGeometries() [2/2]
Algorithm to snap given geometries to each other based on a given tolerance. This algorithm will also detect intersection segments between geometries and create new coordinates when necessary.
- Parameters
-
geometryVector | The geometry list to be analysed |
tolerance | The tolerance to be considered for the snapping of the coordinates. |
- Returns
- The resulting snapped geometries
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vp/GeometrySnapper.h