Skip to content

RotationTransform

RotationTransform(phi)

gives a rotation by phi

RotationTransform(phi, p)

gives a rotation by phi around the point p.

See

Examples

>> RotationTransform(Pi).TranslationTransform({1, -1})
TransformationFunction(
{{-1,0,-1},
{0,-1,1},
{0,0,1}})
>> TranslationTransform({1, -1}).RotationTransform(Pi)
TransformationFunction(
{{-1,0,1},
{0,-1,-1},
{0,0,1}})

TransformationFunction, TranslationTransform

Implementation status

  • ✅ - full supported

Github