#include <AddProjectedCoordinates.h>
|
std::vector< te::gm::Coord2D > | getIntermediateProjectedCoordinates (const te::gm::Coord2D &c1, const te::gm::Coord2D &c2, const te::gm::KdTreeSingle &spatialIndex, double distance) const |
|
te::gm::GeometryPtr | mountTopology (const te::gm::GeometryVector &vecOuterRings, const te::gm::GeometryVector &vecInnerRings) const |
| This function recreates the rings topology of a polygon, distributing the given inner rings among all the given outer rings. More...
|
|
virtual te::gm::GeometryPtr | validateCollection (const te::gm::GeometryCollection *collection, bool &wasChanged) const |
| Validates a geometry collection, an returns additional variable to inform if the geometry has been changed or not. More...
|
|
virtual te::gm::GeometryPtr | validateLine (const te::gm::LineString *lineString, bool &wasChanged) const override |
| Validates a line, an returns additional variable to inform if the geometry has been changed or not. More...
|
|
virtual te::gm::GeometryPtr | validatePolygon (const te::gm::Polygon *polygon, bool &wasChanged) const |
| Validates a polygon, an returns additional variable to inform if the geometry has been changed or not. More...
|
|
Definition at line 44 of file AddProjectedCoordinates.h.
◆ AddProjectedCoordinates()
te::gm::AddProjectedCoordinates::AddProjectedCoordinates |
( |
| ) |
|
◆ ~AddProjectedCoordinates()
virtual te::gm::AddProjectedCoordinates::~AddProjectedCoordinates |
( |
| ) |
|
|
virtualdefault |
◆ getIntermediateProjectedCoordinates()
◆ 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
◆ setCoordinateIndex()
void te::gm::AddProjectedCoordinates::setCoordinateIndex |
( |
KdTreeSingle * |
coordinateIndex | ) |
|
◆ 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 from te::gm::AbstractValidator.
◆ 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_coordinateIndex
◆ 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: