This is documentation for an old release of SciPy (version 0.10.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Find the simplices containing the given points.
Parameters : | tri : DelaunayInfo
xi : ndarray of double, shape (..., ndim)
bruteforce : bool, optional
|
---|---|
Returns : | i : ndarray of int, same shape as xi
|
Notes
This uses an algorithm adapted from Qhull’s qh_findbestfacet, which makes use of the connection between a convex hull and a Delaunay triangulation. After finding the simplex closest to the point in N+1 dimensions, the algorithm falls back to directed search in N dimensions.