# TransFixtureToPixel

Converts a point in Fixture A fixture is a coordinate location on the image that keeps the tool in the place determined by the fixture. coordinates to Pixel coordinates.

Inputs

The TransFixtureToPixel function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. has the following syntax:

TransFixtureToPixel(X, Y, Theta, X, Y, Number to Convert)

See the table for a description of the available parameters.

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)
Point | Specifies the coordinates of the point, in fixture coordinates.
X | X-offset of the point from the fixture origin.
Y | Y-offset of the point from the fixture origin.
Show | Specifies the display mode for the TransFixtureToPixel graphic overlay on the image.
0 = hide all (default) | The point is not displayed, unless the cell containing the TransFixtureToPixel function is highlighted in the spreadsheet.
1 = result graphics only | The point is always displayed.

Outputs

Returns | A Point data structure containing the transformed point, 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 following Structures Vision Data Access functions are automatically inserted into the spreadsheet to create the results table:

Label | Function | Description
--- | --- | ---
X | GetX(Point) | The X-coordinate of the transformed point.
Y | GetY(Point) | The Y-coordinate of the transformed point.