Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Complete rewrite of bindings with nanobind instead of numpyeigen+pybind11 #243

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

alecjacobson
Copy link
Contributor

@alecjacobson alecjacobson commented Nov 18, 2024

This is a major breaking change.

Fixes #110, fixes #242.

In response to fwilliams/numpyeigen#67 this PR is removing the numpyeigen dependency and writing binding code directly. DRef handles the row- and column-major ordering issues.

Many bindings will have changed slightly. The intention is to always match the corresponding libigl C++ function prototype as closely as possible (still with the major difference being returning outputs instead of using output parameters).

Some old bindings will be missing. I'll try to list those that were intentionally left behind here:

  • all_pairs_distances: one-liner in numpy

New bindings have been added. Among those, this fixes #230 , fixes #229, fixes #191, fixes #185, fixes #155, fixes #170, fixes #124, fixes #122, fixes #73, fixes #52, fixes #69, fixes #80, fixes #225, fixes #220, fixes #184, fixes #203, fixes #116, fixes #147, fixes #160, fixes #141, fixes #124, fixes #116, fixes #82

This PR also introduces typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment