Hi,
Calling get() means that you get a reference of the QgsAbstractGeometry used by
the
QgsGeometry object, but the QgsGeometry object (g) is still the
ownership of the QgsAbstractGeometry object (g_geom).
So, if you delete your QgsGeometry (g) you delete the owned
QgsAbstractGeometry
Hi list!
I am using some time to learn more about the relationships between
Python, C++, SIP, the QGIS API and everything in-between.
And currently I am confused why this Python snippet leads to a segfault:
from qgis.core import QgsGeometry
g = QgsGeometry.fromWkt("POINT (1 2)")
g_geom =