#include <RemoveCollapsedSegments.h>
Definition at line 49 of file RemoveCollapsedSegments.h.
◆ RemoveCollapsedSegments()
te::gm::RemoveCollapsedSegments::RemoveCollapsedSegments |
( |
| ) |
|
|
default |
◆ ~RemoveCollapsedSegments()
virtual te::gm::RemoveCollapsedSegments::~RemoveCollapsedSegments |
( |
| ) |
|
|
virtualdefault |
◆ joinFragments()
◆ mountTopology()
This function recreates the rings topology of a polygon, distributing the given inner rings among all the given outer rings.
- Parameters
-
vecOuterRings | A vector containing all the outer rings |
vecInnerRings | A vector containing all the inner rings |
- Returns
- The geometry with the ring topology fixed
◆ removeCollapsedSegmentsAndGetFragments()
bool te::gm::RemoveCollapsedSegments::removeCollapsedSegmentsAndGetFragments |
( |
const te::gm::LineString * |
lineString, |
|
|
VecFragments & |
fragments |
|
) |
| const |
|
protected |
◆ setPrecision()
virtual void te::gm::AbstractValidator::setPrecision |
( |
double |
precision | ) |
|
|
virtualinherited |
When appliable, sets the precision to be used in the validation.
- Parameters
-
precision | When appliable, the precision to be used in the validation |
◆ validate() [1/2]
Validates a geometry.
- Parameters
-
geometry | The input geometry to be validate |
- Returns
- The valdiated result geometry
◆ validate() [2/2]
Validates a geometry, an returns additional variable to inform if the geometry has been changed or not.
- Parameters
-
geometry | The input geometry to be validate |
wasChanged | output param. TRUE if the geometry has been changed. FALSE otherwise |
- Returns
- The valdiated result geometry
Reimplemented in te::gm::AddProjectedCoordinates, and te::gm::MergeCoordinates.
◆ validateCollection()
|
protectedvirtualinherited |
Validates a geometry collection, an returns additional variable to inform if the geometry has been changed or not.
- Parameters
-
geometry | The input geometry collection to be validate |
wasChanged | output param. TRUE if the geometry has been changed. FALSE otherwise |
- Returns
- The valdiated result geometry collection
◆ validateLine()
Validates a line, an returns additional variable to inform if the geometry has been changed or not.
- Parameters
-
geometry | The input line to be validate |
wasChanged | output param. TRUE if the geometry has been changed. FALSE otherwise |
- Returns
- The valdiated result line
Implements te::gm::AbstractValidator.
◆ validatePolygon()
|
protectedvirtualinherited |
Validates a polygon, an returns additional variable to inform if the geometry has been changed or not.
- Parameters
-
geometry | The input polygon to be validate |
wasChanged | output param. TRUE if the geometry has been changed. FALSE otherwise |
- Returns
- The valdiated result polygon
Reimplemented in te::gm::FixOrientation, and te::gm::FixNoding.
◆ m_precision
double te::gm::AbstractValidator::m_precision |
|
protectedinherited |
When appliable, the precision to be used in the validation.
Definition at line 135 of file AbstractValidator.h.
The documentation for this class was generated from the following file: