Skip to content

Commit 13f01ca

Browse files
authored
Include ahull
1 parent 00683be commit 13f01ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: content/geospatial/delaunay/index.md

+5
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ region_df, point_df = voronoi_frames(points,100.0,clip='chull')
179179
ax[1,0].set_title('Voronoi Diagram with Convex Hull clipping', fontsize=12)
180180
region_df.plot(ax=ax[1,0], color='blue',edgecolor='black', alpha=0.3)
181181
point_df.plot(ax=ax[1,0], color='red');
182+
183+
region_df, point_df = voronoi_frames(points,100.0,clip='ahull')
184+
ax[1,1].set_title('Voronoi Diagram with tightest hull clipping', fontsize=12)
185+
region_df.plot(ax=ax[1,1], color='blue',edgecolor='black', alpha=0.3)
186+
point_df.plot(ax=ax[1,1], color='red');
182187
```
183188

184189
### Voronoi Frames with Real World Dataset

0 commit comments

Comments
 (0)