Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- from scipy.spatial import Delaunay
- #do triangulation
- points = np.random.rand(4, 3)
- tri = Delaunay(points)
- #indices
- tri.simplices
- #points
- tri.points
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement