Skip to content

polygon laplacian and other polygon functionality#1653

Merged
alecjacobson merged 6 commits intomasterfrom
polygon-laplacian
Dec 22, 2020
Merged

polygon laplacian and other polygon functionality#1653
alecjacobson merged 6 commits intomasterfrom
polygon-laplacian

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

Implements Polygon Laplacians made Simple using vectorized format for polygons. Other functionality converting to edges, adjacency and triangles for rendering. No tests yet.

Check all that apply (change to [x])

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

@alecjacobson
Copy link
Copy Markdown
Contributor Author

here's a gif for the eventual tutorial so I don't lose it.

cylinder-polygon-laplacian

Copy link
Copy Markdown
Collaborator

@jdumas jdumas left a comment

Choose a reason for hiding this comment

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

Nice addition to libigl!

Some unit tests would be good too (e.g. do we get the same laplacian on a triangle mesh?).

I left a bunch of comments, but most of them is "don't use int" -> we should really be more careful about size conversion and possible loss of precision (large meshes are not gonna fit with 32bit indices).


// Could at least flip edges of degenerate edges

//if(pF.rows()>1)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should remove commented code.

@alecjacobson alecjacobson merged commit 4d026ee into master Dec 22, 2020
@alecjacobson alecjacobson deleted the polygon-laplacian branch December 22, 2020 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants