26void QgsFeature3DHandler::updateZRangeFromPositions(
const QVector<QVector3D> &positions )
28 for (
const QVector3D &pos : positions )
30 if ( pos.z() < mZMin )
32 if ( pos.z() > mZMax )
37bool QgsFeature3DHandler::clipGeometryIfTooLarge(
QgsGeometry &geom )
const
41 if ( bbox.
width() > MAX_GEOM_BBOX_SIZE || bbox.
height() > MAX_GEOM_BBOX_SIZE )
43 geom = geom.
clipped( mChunkExtent.toRectangle() );
A geometry is the spatial representation of a feature.
QgsGeometry clipped(const QgsRectangle &rectangle)
Clips the geometry using the specified rectangle.
QgsRectangle boundingBox() const
Returns the bounding box of the geometry.
A rectangle specified with double values.