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


For other keyword-only arguments, see the NumPy ufunc docs.

See also