Skip to content

new geom features - #131

Merged
dgirardeau merged 2 commits into
CloudCompare:masterfrom
farmakis:plane_features
Aug 9, 2026
Merged

new geom features#131
dgirardeau merged 2 commits into
CloudCompare:masterfrom
farmakis:plane_features

Conversation

@farmakis

Copy link
Copy Markdown
Contributor

The required changes to support the "new geom features" (#2355) PR in the CloudCompare repo

Comment thread src/Neighbourhood.cpp Outdated
Comment thread src/Neighbourhood.cpp Outdated
Comment thread include/Neighbourhood.h Outdated
@farmakis
farmakis requested a review from dgirardeau August 3, 2026 20:06
@farmakis

farmakis commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

The requested changes have been applied

@dgirardeau
dgirardeau merged commit 5adef1d into CloudCompare:master Aug 9, 2026
4 checks passed
@dgirardeau

Copy link
Copy Markdown
Member

Oops, and I realize now that it's when the argument is zero the std::log function will return +inf. Which means that we should also test that l1 is not zero ...

@farmakis

farmakis commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Actually since the eigenvalues are sorted, if I am not mistaken, checking only for l3, automatically implies that l1 and l2 are also valid.
I realized however another case where l2=l3 (perfect sphere), which lead to a division by zero in the formula of DegreeOfLinearity. I am going to apply that too.

@dgirardeau

Copy link
Copy Markdown
Member

Will you open a new PR?

@farmakis

Copy link
Copy Markdown
Contributor Author

Will you open a new PR?

Yes. im opening it asap

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.

2 participants