mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-18 00:14:20 -05:00
Returns a reference to the simplest lossless representation of this geometry, e.g. if the geometry is a multipart geometry type with a single member geometry, a reference to that part will be returned. This method employs the following logic: - For multipart geometries containing a single part only a direct reference to that part will be returned. - For compound curve geometries containing a single curve only a direct reference to that curve will be returned. This method returns a reference only, and does not involve any geometry cloning.