mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Dox
This commit is contained in:
parent
7ba19dd05f
commit
f0ddef4bed
@ -13,9 +13,13 @@ struct QgsGeometryCheckContext
|
|||||||
QgsGeometryCheckContext( int precision,
|
QgsGeometryCheckContext( int precision,
|
||||||
const QgsCoordinateReferenceSystem &mapCrs,
|
const QgsCoordinateReferenceSystem &mapCrs,
|
||||||
const QgsCoordinateTransformContext &transformContext );
|
const QgsCoordinateTransformContext &transformContext );
|
||||||
|
|
||||||
const double tolerance;
|
const double tolerance;
|
||||||
|
|
||||||
const double reducedTolerance;
|
const double reducedTolerance;
|
||||||
|
|
||||||
const QgsCoordinateReferenceSystem mapCrs;
|
const QgsCoordinateReferenceSystem mapCrs;
|
||||||
|
|
||||||
const QgsCoordinateTransformContext transformContext;
|
const QgsCoordinateTransformContext transformContext;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -21,14 +21,40 @@
|
|||||||
#include "qgscoordinatetransformcontext.h"
|
#include "qgscoordinatetransformcontext.h"
|
||||||
#include "qgsfeaturepool.h"
|
#include "qgsfeaturepool.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base configuration for geometry checks.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.4
|
||||||
|
*/
|
||||||
struct ANALYSIS_EXPORT QgsGeometryCheckContext
|
struct ANALYSIS_EXPORT QgsGeometryCheckContext
|
||||||
{
|
{
|
||||||
QgsGeometryCheckContext( int precision,
|
QgsGeometryCheckContext( int precision,
|
||||||
const QgsCoordinateReferenceSystem &mapCrs,
|
const QgsCoordinateReferenceSystem &mapCrs,
|
||||||
const QgsCoordinateTransformContext &transformContext );
|
const QgsCoordinateTransformContext &transformContext );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The tolerance to allow for in geometry checks.
|
||||||
|
* Will be calculated as pow(10, -precision) in the constructor.
|
||||||
|
* I.e. if the precision is 4 (decimal digits), this will be 0.0001.
|
||||||
|
*/
|
||||||
const double tolerance;
|
const double tolerance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The tolerance to allow for in geometry checks.
|
||||||
|
* Will be calculated as pow(10, -precision/2) in the constructor.
|
||||||
|
* I.e. if the precision is 4 (decimal digits), this will be 0.01.
|
||||||
|
* Should be used for areas, where the precision is squared.
|
||||||
|
*/
|
||||||
const double reducedTolerance;
|
const double reducedTolerance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The coordinate system in which calculations should be done.
|
||||||
|
*/
|
||||||
const QgsCoordinateReferenceSystem mapCrs;
|
const QgsCoordinateReferenceSystem mapCrs;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The coordinate transform context with which transformations will be done.
|
||||||
|
*/
|
||||||
const QgsCoordinateTransformContext transformContext;
|
const QgsCoordinateTransformContext transformContext;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user