Does the method for computing the cross-product ch

2019-04-25 18:53发布

Does the method for computing the cross-product change for left handed coordinates?

3条回答
贼婆χ
2楼-- · 2019-04-25 19:07

Yes, the magnitude of the cross-product for left-handed coordinates is negative that for right-handed coordinates.

查看更多
冷血范
3楼-- · 2019-04-25 19:10

In left-handed coordinates, the cross product is the same magnitude simply pointed the other way. The easiest way then that I know of to convert from a right-handed coordinate system's cross-product, and a left-handed coordinate system's cross-product, is to take the components of the right-handed cross-product and reverse the signs.

查看更多
贪生不怕死
4楼-- · 2019-04-25 19:28

The formula for the cross product of the vectors (x1, x2, x3) and (y1, y2, y3) is

z1 = x2 * y3 - x3 * y2
z2 = x3 * y1 - x1 * y3
z3 = x1 * y2 - x2 * y1

It is designed in a way that the three vectors x, y and z in the given order have the same handedness as the coordinate system itself. This property does not depend on the handedness of the coordinate system -- for a left-handed coordinate system the vectors fulfil the left-hand rule. You don't need to change anything about the formula.

Useful links:

查看更多
登录 后发表回答