# TransPatternsToFixture

Converts a Patterns data structure from image coordinates to fixture coordinates. The function computes the offset and orientation of the pattern response points with respect to the specified fixture.

## TransPatternsToFixture Inputs

Parameter | Description
--- | ---
Fixture | Specifies the fixture coordinate system.
X | The x-offset of the origin, in fixture coordinates.
Y | The y-offset of the origin, in fixture coordinates.
Theta | The rotation from the image X axis, in the image coordinate system. (+/-360 degrees clockwise)
Patterns | This argument must reference a spreadsheet cell that contains a valid Patterns data structure.
Number to Convert | Number of instances to convert to World coordinates. (1 to 1024; default = 1)

## TransPatternsToFixture Outputs

Returns | Patterns structure translated to fixtured coordinates, or #ERR if any of the input parameters are invalid.
Results | When the function is initially inserted into a cell, a result table is created in the spreadsheet.

## TransPatternsToFixture Vision Data Access Functions

The Patterns Vision Data Access Functions automatically inserted into the spreadsheet will be similar to those automatically inserted by the functions used find and sort Patterns data structures.