qhull.py 622 B

12345678910111213141516171819202122232425
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.spatial` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'ConvexHull',
  7. 'Delaunay',
  8. 'HalfspaceIntersection',
  9. 'QhullError',
  10. 'Voronoi',
  11. 'tsearch',
  12. ]
  13. def __dir__():
  14. return __all__
  15. def __getattr__(name):
  16. return _sub_module_deprecation(sub_package="spatial", module="qhull",
  17. private_modules=["_qhull"], all=__all__,
  18. attribute=name)