QGIS API Documentation 3.29.0Master (19d7edcfed)

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. More...  
void  setGridSize (double size) 
Sets the grid size which will be used to snap vertices of a geometry. More...  
Encapsulates parameters under which a geometry operation is performed.
Definition at line 110 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 124 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 136 of file qgsgeometry.h.