Files
fn_registry/python/functions/datascience/alpha_shape_concave_hull.md
T
egutierrez cfdf515228 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

1.8 KiB

id, name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, example, tested, tests, test_file_path, file_path, params, output, source_repo, source_license, source_file
id name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports example tested tests test_file_path file_path params output source_repo source_license source_file
alpha_shape_concave_hull_py_datascience alpha_shape_concave_hull function py datascience 1.0.0 pure def alpha_shape_concave_hull(points: list[tuple[float, float]], alpha: float) -> shapely.geometry.base.BaseGeometry | None Computes the alpha-shape (concave hull) of a 2-D point set via Delaunay triangulation, filtering triangles by circumradius <= alpha and merging survivors.
geometry
spatial
concave-hull
alpha-shape
shapely
delaunay
pendiente-usar
false
numpy
shapely
from alpha_shape_concave_hull import alpha_shape_concave_hull pts = [(0.0,0.0),(1.0,0.0),(1.0,1.0),(0.0,1.0)] geom = alpha_shape_concave_hull(pts, alpha=10.0) # shapely Polygon true
test_alpha_shape_square_large_alpha
test_alpha_shape_too_few_points
test_alpha_shape_very_small_alpha_returns_none
test_alpha_shape_5_points_returns_geometry
python/functions/datascience/tests/test_alpha_shape_concave_hull.py python/functions/datascience/alpha_shape_concave_hull.py
name desc
points List of (x, y) coordinate pairs. Requires at least 4 points.
name desc
alpha Alpha radius parameter. Triangles with circumradius > alpha are discarded. Smaller alpha = more concave hull.
Shapely geometry (Polygon or MultiPolygon) of the alpha-shape, or None if fewer than 4 points or no triangles survive the alpha filter. internal:footprint_aurgi internal-aurgi ponderacion_isochronas/src/recomendador_centros.py:408

Requiere shapely. Si shapely no esta instalado, retorna None en silencio. returns_optional=true porque puede no haber triangulos validos.