code: def minimum_clearance(geometry, **kwargs):
      """Computes the Minimum Clearance distance.
  
      A geometry's "minimum clearance" is the smallest distance by which
      a vertex of the geometry could be moved to produce an invalid geometry.
  
      If no minimum clearance exists for a geometry (for example, a single
      point, or an empty geometry), infinity is returned.
  
      Parameters
      ----------
      geometry : Geometry or array_like
      **kwargs
          See :ref:`NumPy ufunc docs <ufuncs.kwargs>` for other keyword arguments.
  
      Examples
      --------
      >>> from shapely import Polygon
      >>> polygon = Polygon([(0, 0), (0, 10), (5, 6), (10, 10), (10, 0), (5, 4), (0, 0)])
      >>> minimum_clearance(polygon)
      2.0
      >>> minimum_clearance(Polygon())
      inf
      >>> minimum_clearance(None)
      nan
      """
      return lib.minimum_clearance(geometry, **kwargs)
  
file_path: shapely/shapely/measurement.py
imports: import warnings
  import numpy
  from shapely import lib
  from shapely.decorators import multithreading_enabled
label_desc: Use image node_id 8 for calling a global function with example usage: minimum_clearance(geometry) and returns: lib