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

Scale and Lambda Medial Axis #1582

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

lamyro
Copy link

@lamyro lamyro commented Jun 25, 2021

PR Description

your description here

Checklist

  • Unit-test of your feature with Catch.
  • Doxygen documentation of the code completed (classes, methods, types, members...)
  • Documentation module page added or updated.
  • New entry in the ChangeLog.md added.
  • No warning raised in Debug cmake mode (otherwise, Travis C.I. will fail).
  • All continuous integration tests pass (Travis & appveyor)

@dcoeurjo
Copy link
Member

Few hints:

  • MinEnclosedBall stuff: in src/DGtal/geometry/tools
  • MA stuff src/DGtal/geometry/volumes/distance

@dcoeurjo
Copy link
Member

documentation : /src/DGtal/geometry/doc

@dcoeurjo
Copy link
Member

dcoeurjo commented Jul 6, 2021

It looks like I cannot push to your branch anymore. Have you changed something?

@dcoeurjo
Copy link
Member

dcoeurjo commented Jul 6, 2021

I just did a PR on your repo (not great). Could you please check the permissions?

Eigen::Vector3f b;
int b1, b2, b3;

b1 = -(pow(B[0], 2) - pow(A[0], 2) + pow(B[1], 2) - pow(A[1], 2) + pow(B[2], 2) - pow(A[2], 2));
Copy link
Member

Choose a reason for hiding this comment

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

casting to int may not be a great idea.

b3 = -(pow(D[0], 2) - pow(A[0], 2) + pow(D[1], 2) - pow(A[1], 2) + pow(D[2], 2) - pow(A[2], 2));
b << b1, b2, b3;

M << 2*(A[0] - B[0]) , 2*(A[1] - B[1]) , 2*(A[2] - B[2]) ,
Copy link
Member

Choose a reason for hiding this comment

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

should use arithmetic on PointVector

@@ -0,0 +1,98 @@
/**
Copy link
Member

Choose a reason for hiding this comment

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

test not included in the CMakeLists.txt

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.

None yet

2 participants