Rotation

Rotates an figure.

Syntax

rotation(Real, Vector)
rotation(Real, Figure)
rotation(Point, Real, Figure)
rotation(Point, Vector, Real, Figure)

Description

Given a real α and a vector v, rotates vLaTeXv by an angle αLaTeX\alpha. That is the following computation

cos(α)sin(α)-sin(α)cos(α)·v

calc.rotation1.calc.png

Given a real αLaTeX\alpha and a figure f, rotates f an angle of αLaTeX\alpha radians around the origin.

calc.rotation2.calc.png

Given a point P, a real αLaTeX\alpha and a figure f, rotates f an angle of αLaTeX\alpha radians around PLaTeXP.

calc.rotation3.calc.png

Given a point, a vector vLaTeXv, a real αLaTeX\alpha and a figure f, rotates f an angle of αLaTeX\alpha radians with respect to line passing by PLaTeXP and vector vLaTeXv.

calc.rotation4.calc.png