# rigidtform2d

## Description

A `rigidtform2d`

object stores information about a 2-D rigid
geometric transformation and enables forward and inverse transformations.

## Creation

### Syntax

### Description

`tform = rigidtform2d`

creates a `rigidtform2d`

object that performs an identity transformation.

`tform = rigidtform2d(Translation)`

creates a
`rigidtform2d`

object that performs a rigid transformation consisting
only of translation. The specified property `Translation`

indicates
the amount of translation in the *x*- and
*y*-directions.

If you want a transformation that performs only 2-D translation, consider using the
`transltform2d`

object.

`tform = rigidtform2d(RotationAngle,Translation)`

creates a
`rigidtform2d`

object that performs a rigid transformation based on the
specified values of the RotationAngle and
`Translation`

properties. These properties indicate the rotation angle and the amount of translation in
the *x*- and *y*- directions.

`tform = rigidtform2d(R,Translation)`

creates a
`rigidtform2d`

object that performs a rigid transformation based on the
specified values of the `R`

and `Translation`

properties. These properties indicate the rotation matrix and the amount of translation in
the *x*- and *y*- directions.

`tform = rigidtform2d(A)`

creates a `rigidtform2d`

object and sets the property `A`

as the specified 2-D rigid transformation matrix.

`tform = rigidtform2d(`

creates a
`tformIn`

)`rigidtform2d`

object from another geometric transformation object,
`tformIn`

, that represents a valid 2-D rigid geometric
transformation.

### Input Arguments

## Properties

## Object Functions

`invert` | Invert geometric transformation |

`outputLimits` | Find output spatial limits given input spatial limits |

`transformPointsForward` | Apply forward geometric transformation |

`transformPointsInverse` | Apply inverse geometric transformation |

## Examples

## Extended Capabilities

## Version History

**Introduced in R2022b**