Skip to main content

Rotation

Rotates a 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 vv by an angle α\alpha. That is the following computation

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

calc.rotation1.calc.png

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

calc.rotation2.calc.png
calc.rotation2.plotter0.calc.png

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

calc.rotation3.calc.png

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

calc.rotation4.calc.png
calc.rotation4.plotter0.calc.png