叉乘计算公式几何推导
推导方法1
经过旋转变换之后,对象的面积是不会改变的。
把 △ F E G \triangle{FEG} △FEG旋转 θ \theta θ到 △ F ′ E G ′ \triangle{F'EG'} △F′EG′
△ F ′ E G ′ \triangle{F'EG'} △F′EG′的面积计算是简单的,即F’的纵坐标 乘以G’的横坐标
首先计算出F’ G’的坐标
F ′ ( x , y ) = [ x 1 y 1 ] [ cos ( θ ) − sin ( θ ) sin ( θ ) cos ( θ ) ] = [ x 1 cos ( θ ) + y 1 sin ( θ ) − x 1 sin ( θ ) + y 1 cos ( θ ) ] F'(x, y) = \left[\begin{matrix}x_{1} & y_{1}\end{matrix}\right] \left[\begin{matrix}\cos{\left (\theta \right )} & - \sin{\left (\theta \right )}\\\sin{\left (\theta \right )} & \cos{\left (\theta \right )}\end{matrix}\right] = \left[\begin{matrix}x_{1} \cos{\left (\theta \right )} + y_{1} \sin{\left (\theta \right )} & - x_{1} \sin{\left (\theta \right )} + y_{1} \cos{\left (\theta \right )}\end{matrix}\right] F′(x,y)=[x1y1][cos(θ)sin(θ)−sin(θ)cos(θ)]=[x1cos(θ)+y1sin(θ)−x1sin(θ)+y1cos(θ)]
G ′ ( x , y ) = [ x 2 y 2 ] [ cos ( θ ) − sin ( θ ) sin ( θ ) cos ( θ ) ] = [ x 2 cos ( θ ) + y 2 sin ( θ ) − x 2 sin ( θ ) + y 2 cos ( θ ) ] G'(x, y) = \left[\begin{matrix}x_{2} & y_{2}\end{matrix}\right] \left[\begin{matrix}\cos{\left (\theta \right )} & - \sin{\left (\theta \right )}\\\sin{\left (\theta \right )} & \cos{\left (\theta \right )}\end{matrix}\right] = \left[\begin{matrix}x_{2} \cos{\left (\theta \right )} + y_{2} \sin{\left (\theta \right )} & - x_{2} \sin{\left (\theta \right )} + y_{2} \cos{\left (\theta \right )}\end{matrix}\right] G′(x,y)=[x2y2][cos(θ)sin(θ)−