# TransEdgesToFixture

Converts an Edge structure from image coordinates to fixture coordinates. The function computes the offset and orientation of the edges with respect to the specified fixture.

Inputs

Parameter | Description
Fixture | Specifies the fixture coordinate system.
X | Offset from image X-origin.
Y | Offset from image Y origin.
Theta | The rotation from the image X-axis, in the image coordinate system. (+/-360 degrees clockwise)
Edges | This argument must reference a spreadsheet cell that contains a valid Edges data structure.
Number to Convert | Number of edges to convert to real-world coordinates between 0 and 2591. The default number is three.

Outputs

Returns | An Edges data structure containing the transformed edges, 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.

Vision Data Access functions

The Edges Vision Data Access functions automatically inserted into the spreadsheet is similar to those automatically inserted by the functions used for SortEdges and PairEdges data structures.