bellockk / alphashape

Toolbox for constructing alpha shapes.
MIT License
252 stars 28 forks source link

alphashape gave me ZeroDivisionError at the line "if circumradius < 1.0 / resolved_alpha:" #34

Closed yun881201 closed 1 year ago

yun881201 commented 1 year ago

Description

I am trying to do the example code for applying alphashape to gdf. But alphashape with my gdf gave me the following ZeroDivisionError: image

The figure for my gdf: image

yun881201 commented 1 year ago

I solved this problem by modifying the code "if circumradius < 1.0 / resolved_alpha:" as "if circumradius < float64(1.0) / resolved_alpha:"