带中心的旋转矩阵

Sta*_*911 3 math vector matrix

如何在此示例或任何示例中计算中心向量.WolframAlpha:http://www.wolframalpha.com/input/?i = rotate +90+degrees+center+%283%2C0%29

Ble*_*der 12

均匀坐标:

            [ cos(theta) -sin(theta) 0 ]
Rotate    = [ sin(theta)  cos(theta) 0 ]
            [      0           0     1 ]

            [ 1 0 x ]
Translate = [ 0 1 y ]
            [ 0 0 1 ]
Run Code Online (Sandbox Code Playgroud)

因此,为了执行转换,您需要乘以Translate(x, y) * Rotate(theta) * Translate(-x, -y)并获得转换矩阵.

  • http://math.stackexchange.com/questions/2093314/rotation-matrix-and-of-rotation-around-a-point 是我对此的问题,答案指出,它必须是相反的,因为它是从右到左的乘法。 (2认同)