Skip to content

Add Delaunay triangulation and graph templates#90

Merged
storrealbac merged 3 commits intomasterfrom
storrealbac/delaunay
Mar 3, 2026
Merged

Add Delaunay triangulation and graph templates#90
storrealbac merged 3 commits intomasterfrom
storrealbac/delaunay

Conversation

@storrealbac
Copy link
Collaborator

Summary

  • Add delaunay.cpp: Delaunay triangulation via paraboloid lifting, exact integer arithmetic
  • Add delaunay-graph.cpp: planar Delaunay graph with $O(\sqrt{n})$ greedy walk for nearest site queries
  • Update convex-hull-3d.cpp: exact integer arithmetic (no EPS), degenerate flag, separated build_hull() method
  • Update point-3d.cpp: add nonzero() method required by new convex hull
  • Update both tracker.yaml and tracker-wf.yaml

Test plan

  • typst compile main.typ compiles without errors
  • typst compile main-wf.typ compiles without errors

- Add delaunay.cpp: Delaunay triangulation via paraboloid lifting
- Add delaunay-graph.cpp: planar graph with O(sqrt(n)) greedy walk
- Update convex-hull-3d.cpp: exact integer arithmetic, degenerate flag, build_hull() method
- Update point-3d.cpp: add nonzero() method
- Update both trackers
@storrealbac storrealbac requested a review from CharlesLakes March 2, 2026 21:08
…implementation, add locate to delaunay_graph
@storrealbac storrealbac merged commit 7d76fd1 into master Mar 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant