Skip to content

Conversation

schillic
Copy link
Member

@schillic schillic commented Feb 8, 2025

This PR renames triangulate to triangulate_faces and delaunay to triangulate, always exports these functions, and adds triangulate (new name) methods for EmptySet and Universe to get a useful error message.

Commits

  • Commit 1 makes delaunay and triangulate a default (exported) function. The benefits are that there is now an error message informing which package to load and that it is possible to define methods even when MiniQhull/Polyhedra are not loaded.
  • Commits 2 and 3 add delaunay methods for EmptySet and Universe.
    This PR is mildly breaking: when using MiniQhull, there is now a name clash with delaunay. import MiniQhull still works. I argue that most users do not need the using version.
  • Commit 4 renames triangulate to triangulate_faces.
  • Commit 4 renames delaunay to triangulate.

@schillic schillic added the breaking ❌ This change may break things label Feb 8, 2025
@schillic schillic marked this pull request as ready for review February 8, 2025 17:18
@schillic schillic marked this pull request as draft February 14, 2025 22:19
@schillic
Copy link
Member Author

This needs to be reworked: the plan is to rename triangulate -> triangulate_faces and delaunay -> triangulate.

@schillic schillic force-pushed the schillic/delaunay branch from e399be5 to 535c6c3 Compare March 30, 2025 15:21
@schillic schillic force-pushed the schillic/delaunay branch from 535c6c3 to 5d6ea82 Compare March 30, 2025 15:39
@schillic schillic marked this pull request as ready for review March 30, 2025 16:09
@schillic schillic requested a review from mforets March 30, 2025 16:09
@schillic schillic changed the title Make delaunay and triangulate a default symbol Rename and export delaunay and triangulate Mar 31, 2025
@schillic schillic merged commit 4ba8d8f into master Apr 17, 2025
7 checks passed
@schillic schillic deleted the schillic/delaunay branch April 17, 2025 17:26
@schillic schillic mentioned this pull request Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking ❌ This change may break things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants