"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/geometry/qgsgeometry.cpp" between
QGIS-final-3_10_5.tar.gz and QGIS-final-3_10_6.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgsgeometry.cpp  (QGIS-final-3_10_5):qgsgeometry.cpp  (QGIS-final-3_10_6)
skipping to change at line 1074 skipping to change at line 1074
} }
} }
return circ_mec; return circ_mec;
} }
QgsGeometry QgsGeometry::minimalEnclosingCircle( QgsPointXY &center, double &rad ius, unsigned int segments ) const QgsGeometry QgsGeometry::minimalEnclosingCircle( QgsPointXY &center, double &rad ius, unsigned int segments ) const
{ {
center = QgsPointXY(); center = QgsPointXY();
radius = 0; radius = 0;
if ( !d->geometry ) if ( isEmpty() )
{ {
return QgsGeometry(); return QgsGeometry();
} }
/* optimization */ /* optimization */
QgsGeometry hull = convexHull(); QgsGeometry hull = convexHull();
if ( hull.isNull() ) if ( hull.isNull() )
return QgsGeometry(); return QgsGeometry();
QgsMultiPointXY P = hull.convertToPoint( true ).asMultiPoint(); QgsMultiPointXY P = hull.convertToPoint( true ).asMultiPoint();
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)