# PlaneXZ

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

Use this function to construct a plane if you cannot use any reliable features on the point cloud to measure from along the Y-axis. For example, if the configured application is inspecting the front of a long object, and the opposite end of the object is outside the field of view of the vision system, you can use the PlaneXZ tool to measure length, as long as neither the vision system nor the object has any horizontal movement on the Y-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 FOV features of the vision system to construct other geometric shapes.
Inputs

The PlaneXZ function has the following syntax:

PlaneXZ(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.

Outputs

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