Repository navigation
ec.rotate_elements inverts geometry when rotation axis vector has zero-length #161
|
Hi, When elements are rotated around a vector with 0 magnitude (for example [0,0,0] or in my case [0,-0,0]), the geometry gets inverted/destroyed. Are there use cases where this behavior is desired? If not I suggest throwing an Error when the rotation axis has zero-length. |
Answered by
Brunner246
Mar 22, 2024
Replies: 1 comment
|
Thank you for reporting the problem. We will enforce an invariant that the rotation axis vector should never have a zero magnitude. This will prevent such issues. |
0 replies
Answer selected by
roehligas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Thank you for reporting the problem. We will enforce an invariant that the rotation axis vector should never have a zero magnitude. This will prevent such issues.