I'm using Python 3.7. There is a set of points. I generate Delaunay triangulation through these points.
import numpy as np
points = np.array([[0, 0], [0, 1.1], [1, 0], [1, 1], [1.5, 0.6], [1.2, 0.5], [1.7, 0.9], [1.1, 0.1]])
from scipy.spatial import Delaunay
tri = Delaunay(points)
How can I remove some edges through the edge length threshold? How to plot the new Delaunay triangulation (after remove the edges)? My idea is generating edge index through the point. Like,
[e1, (0,0),(1,0),e1_length], [e2, (0,0),(1,1),e2_length], ...