QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Encapsulates parameters under which a geometry operation is performed. More...
#include <qgsgeometry.h>
Public Member Functions | |
double | gridSize () const |
Returns the grid size which will be used to snap vertices of a geometry. | |
void | setGridSize (double size) |
Sets the grid size which will be used to snap vertices of a geometry. | |
Encapsulates parameters under which a geometry operation is performed.
Definition at line 108 of file qgsgeometry.h.
|
inline |
Returns the grid size which will be used to snap vertices of a geometry.
This parameter is used to control the grid size (or precision) for GEOS geometry operations. Output geometry result vertices will be computed on that same precision grid.
A value of -1 indicates that no precision reduction will be applied.
Definition at line 122 of file qgsgeometry.h.
|
inline |
Sets the grid size which will be used to snap vertices of a geometry.
This parameter is used to control the grid size (or precision) for GEOS geometry operations. Output geometry result vertices will be computed on that same precision grid.
A value of -1 indicates that no precision reduction will be applied.
Definition at line 134 of file qgsgeometry.h.