Skip to content

delaunay unit tests, expose is_delaunay, templates, PlainObject -> Matrix#956

Merged
alecjacobson merged 7 commits intodevfrom
dev-delaunay-tests-attempt-2
Oct 28, 2018
Merged

delaunay unit tests, expose is_delaunay, templates, PlainObject -> Matrix#956
alecjacobson merged 7 commits intodevfrom
dev-delaunay-tests-attempt-2

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

This adds unit tests for the Delaunay triangulation function and exposes the is_delaunay function, with an overload that computes "Delaunay-ness" per (half-)edge. Along the way, I fixed some PlainObjectBase to MatrixBase and added necessary templates.

Check all that apply (change to [x])

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

@alecjacobson
Copy link
Copy Markdown
Contributor Author

Trying again (#955 (comment)). I think this worked correctly.

@alecjacobson alecjacobson requested a review from qnzhou October 18, 2018 23:56
@alecjacobson alecjacobson mentioned this pull request Oct 19, 2018
5 tasks
fix infinite loop
Copy link
Copy Markdown
Collaborator

@qnzhou qnzhou left a comment

Choose a reason for hiding this comment

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

This PR undoes the changes in #944. Is it intended?

Copy link
Copy Markdown
Collaborator

@qnzhou qnzhou left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@jdumas
Copy link
Copy Markdown
Collaborator

jdumas commented Oct 28, 2018

Shall we merge #961 before merging any new test-related PR? Just so that have a common framework to work with.

@alecjacobson alecjacobson merged commit 840e762 into dev Oct 28, 2018
@jdumas
Copy link
Copy Markdown
Collaborator

jdumas commented Oct 28, 2018

Ah well I guess not then :D

@jdumas jdumas deleted the dev-delaunay-tests-attempt-2 branch October 29, 2018 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants