Signed angle between two vectors without a reference plane

前端 未结 4 1031
余生分开走
余生分开走 2021-02-02 00:15

(In three dimensions) I\'m looking for a way to compute the signed angle between two vectors, given no information other than those vectors. As answered in this question, it is

4条回答
  •  自闭症患者
    2021-02-02 00:48

    If all you want is a consistent result, then any arbitrary way of choosing between a × b and b × a for your normal will do. Perhaps pick the one that's lexicographically smaller?

    (But you might want to explain what problem you are actually trying to solve: maybe there's a solution that doesn't involve computing a consistent signed angle between arbitrary 3-vectors.)

提交回复
热议问题