# PlaneXY

The PlaneXY function is used to quickly construct a Plane3D structure, positioned at the origin and oriented towards the +Z axis.

Use this function to construct a plane if you cannot use any reliable features on the point cloud to measure from along the Z-axis. For example, if the configured application is inspecting the top part of a tall object, and the conveyor surface (on which the object is transported) is outside the vision system's field of view, you can use the PlaneXY tool to measure from any height, as long as neither the vision system nor the conveyor has any vertical movement on the Z-axis.

Tip: You can construct additional parallel or perpendicular planes by using the fixed plane of this tool, with the ParallelPlane3D and PerpendicularPlane3D functions, respectively. This allows you to use the vision system's FOV features to construct other geometric shapes.

## PlaneXY Inputs

The PlaneXY function has the following syntax:

PlaneXY(PointCloud,[Show])

See the table for a description of the available parameters.

Parameter | Description
PointCloud | Reference to a cell containing a point cloud. The default value is $A$0.
Show | Selects the type of graphics to overlay on the image.
0 = hide all (default) | All graphics are hidden, except when the cell containing the function is highlighted in the spreadsheet.
1 = result graphics only | The result graphics of the function are displayed at all times.
2 = input and result graphics | The region of interest, the input data and the results are displayed at all times.

## PlaneXY Outputs

Inserting the tool into the Spreadsheet returns the configured plane as a Plane3D structure.