Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Dec 27, 2025

I'm not exactly sure yet, but I have the feeling that it may be useful to construct a delatin instance from an existing delaunay triangulation, such as when rendering non-rectilinear Zarr datasets.

I was reading through https://mapbox.github.io/delaunator/ and realized it might be trivial to create the initial conditions required for delatin from an existing delaunay triangulation.

  • Should work with delaunator and Constrainautor out of the box.

    • This assumes that the layout of coords and halfedges match between delatin and delaunator, which is probably true, but we still need to verify.
  • What's the best way to provide two different constructors? We want one constructor that initializes a mesh from a height and width, and another constructor that initializes a mesh from an existing triangulation?

@kylebarron kylebarron marked this pull request as draft December 27, 2025 06:09
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.

2 participants