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

Fix NaN halfedgeTangents #588

Merged
merged 2 commits into from
Nov 2, 2023
Merged

Fix NaN halfedgeTangents #588

merged 2 commits into from
Nov 2, 2023

Conversation

elalish
Copy link
Owner

@elalish elalish commented Nov 2, 2023

Fixes #584

@elalish elalish self-assigned this Nov 2, 2023
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a842de9) 91.41% compared to head (2dedaf7) 91.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   91.41%   91.41%           
=======================================
  Files          35       35           
  Lines        4494     4496    +2     
=======================================
+ Hits         4108     4110    +2     
  Misses        386      386           
Files Coverage Δ
src/manifold/src/smoothing.cpp 92.09% <100.00%> (+0.06%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Manifold smoothed = Manifold::Smooth(surface).Refine(2);

EXPECT_EQ(smoothed.Status(), Manifold::Error::NoError);
EXPECT_EQ(smoothed.Genus(), -2);
Copy link
Owner Author

Choose a reason for hiding this comment

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

@pca006132 I'm a little surprised this is -2 maybe some small disconnected object somewhere, or tiny hole? The model looks like it ought to be 0. I'm not too worried about it for now, but might be worth looking into at some point.

@elalish elalish merged commit 5930b5c into master Nov 2, 2023
@elalish elalish deleted the sdfSegFault branch November 2, 2023 19:35
@elalish elalish mentioned this pull request Nov 3, 2023
cartesian-theatrics pushed a commit to SovereignShop/manifold that referenced this pull request Mar 11, 2024
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.

vec out of range with sdf, smooth and refine
1 participant