Skip to content

Modified arap interface to accept Eigen::Map#1922

Merged
alecjacobson merged 1 commit intolibigl:mainfrom
Poupine:main
Dec 20, 2021
Merged

Modified arap interface to accept Eigen::Map#1922
alecjacobson merged 1 commit intolibigl:mainfrom
Poupine:main

Conversation

@Poupine
Copy link
Copy Markdown
Contributor

@Poupine Poupine commented Nov 20, 2021

This Pull Request implements changes discussed here: #1920

By changing the interface to accept Eigen::MatrixBase instead of Eigen::PlainObjectBase, it becomes possible to pass data to libigl through Eigen::Map-ped data. It allows the user more flexibility in representing mesh data in their code while not requiring unnecessary copies to Eigen matrices, when a Map can be used.

Checklist

  • [x ] All changes meet libigl style-guidelines.
  • Adds new .cpp file.
  • Adds corresponding unit test.
  • [x ] This is a minor change.

Comment thread include/igl/arap.cpp
Comment thread include/igl/arap.cpp
Copy link
Copy Markdown
Contributor

@alecjacobson alecjacobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outputs should be plainobjectbase

@alecjacobson
Copy link
Copy Markdown
Contributor

alecjacobson commented Dec 1, 2021 via email

@Poupine
Copy link
Copy Markdown
Contributor Author

Poupine commented Dec 2, 2021

I believe my latest changes address your comments @alecjacobson

@Poupine
Copy link
Copy Markdown
Contributor Author

Poupine commented Dec 16, 2021

Do I need to do anything specific to let GitHub know I've addressed the requested changes? :)

@alecjacobson alecjacobson merged commit fc7f4b9 into libigl:main Dec 20, 2021
@jdumas jdumas added this to the v2.4.0 milestone Feb 10, 2022
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.

3 participants