- destroy_prepared(geometry, **kwargs)#
Destroy the prepared part of a geometry, freeing up memory.
Note that the prepared geometry will always be cleaned up if the geometry itself is dereferenced. This function needs only be called in very specific circumstances, such as freeing up memory without losing the geometries, or benchmarking.
- geometryGeometry or array_like
Geometries are changed inplace
See NumPy ufunc docs for other keyword arguments.