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

Add calculations for angles between edges and angles between faces #22

Open
macumber opened this issue Jan 8, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@macumber
Copy link
Member

macumber commented Jan 8, 2023

For a face, should be able to calculate the interior and exterior angles between two edges joined by a vertex. Exterior angles should sum to 360 degrees. Interior angles should sum to (n_sides - 2)*180 degrees.

For a cell, should be able to calculate the interior and exterior angles between two faces joined by an edge.

See https://github.com/rd2/tbd/blob/6ee3d7b106f8e6f8d89df7097549baab61be2572/lib/tbd/psi.rb#L1086 for use case and possible implementation

@macumber macumber added the enhancement New feature or request label Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant