(triang, xy)
| 218 | # triangulation contain the test point xy. Avoid calling with a point that |
| 219 | # lies on or very near to an edge of any triangle in the triangulation. |
| 220 | def tris_contain_point(triang, xy): |
| 221 | return sum(tri_contains_point(triang.x[tri], triang.y[tri], xy) |
| 222 | for tri in triang.triangles) |
| 223 | |
| 224 | # Using matplotlib.delaunay, an invalid triangulation is created with |
| 225 | # overlapping triangles; qhull is OK. |
no test coverage detected
searching dependent graphs…