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

Private method for SDF internals #34

Closed
wants to merge 10 commits into from
Closed

Private method for SDF internals #34

wants to merge 10 commits into from

Conversation

clbarnes
Copy link
Owner

@clbarnes clbarnes commented Dec 18, 2023

Only serial for now and completely untested (could very much be returning the wrong thing at present) only a little bit tested. See #33

Also refactors to reduce copies into numpy arrays,
and use vecs of vecs less.
So that it is actually signed.
Also some documentation.
@clbarnes clbarnes mentioned this pull request Dec 21, 2023
@clbarnes
Copy link
Owner Author

OK this is definitely not returning the correct thing yet, misunderstood some parry docs.

@clbarnes
Copy link
Owner Author

clbarnes commented Dec 21, 2023

Should be correct now. Because parry has separate features for backfaces, the norms all face inwards and so all the dot products are negative, but I think just calling .abs() on either side of the function should correctly deal with that? Or just finding the dot product with the normal * -1.

@clbarnes
Copy link
Owner Author

This spiralled a bit and now resolves #45 too.

@clbarnes
Copy link
Owner Author

This spiralled a bit and now resolves #45 too.

No it doesn't, but is superceded by #36 , which does 😅

@clbarnes clbarnes closed this Jan 10, 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.

1 participant