QGIS API Documentation 3.35.0Master (ffb31addd7f)

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 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.