# PointFromPlanes3D

The PointFromPlanes3D function is used to construct a 3D point from the intersection of 3 Plane3D structures. The constructed point is returned in a Point3D structure.

Inputs

The PointFromPlanes3D function has the following syntax:

PointFromLineAndPlane3D(PointCloud,Plane3D0,ExternalPlane0,Plane3D1,ExternalPlane1,Plane3D2,ExternalPlane2,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.
Plane3D 0 | Specifies the offset and the angle of the first plane to use in constructing the 3D point. It is offset from the PointCloud origin in the following format with the following arguments: {X, Y, Z, Tilt, TiltDirection}
X | Offset on the X-axis from the PointCloud origin.
Y | Offset on the Y-axis from the PointCloud origin.
Z | Offset on the Z-axis from the PointCloud origin.
Tilt | Specifies the tilt angle (in degrees) from the PointCloud Z-axis. The value range is 0 – 180. External references with values outside the allowed range will result in an error.
Tilt Direction | Specifies the direction of tilt (in degrees) from the rotated PointCloud X-axis, about the PointCloud Z-axis. The value range is -360 to 360. External references with values outside the allowed range will be normalized to the allowed range.
Note: This parameter is available only if External Plane 0 is set to 0.
External Plane 0 | Specifies a reference to a Plane3D structure defined in another cell to be used as the first plane in constructing the 3D point. Set to 0 (OFF) to use the function's internal Plane3D structure.
Plane3D 1 | Specifies the offset and the angle of the second plane to use in constructing the 3D point. It is offset from the PointCloud origin in the following format with the following arguments: {X, Y, Z, Tilt, TiltDirection}
X | Offset on the X-axis from the PointCloud origin.
Y | Offset on the Y-axis from the PointCloud origin.
Z | Offset on the Z-axis from the PointCloud origin.
Tilt | Specifies the tilt angle (in degrees) from the PointCloud Z-axis. The value range is 0 – 180. External references with values outside the allowed range will result in an error.
Tilt Direction | Specifies the direction of tilt (in degrees) from the rotated PointCloud X-axis, about the PointCloud Z-axis. The value range is -360 to 360. External references with values outside the allowed range will be normalized to the allowed range.
Note: This parameter is available only if External Plane 1 is set to 0.
External Plane 1 | Specifies a reference to a Plane3D structure defined in another cell to be used as the second plane in constructing the 3D point. Set to 0 (OFF) to use the function's internal Plane3D structure.
Plane3D 2 | Specifies the offset and the angle of the third plane to use in constructing the 3D point. It is offset from the PointCloud origin in the following format with the following arguments: {X, Y, Z, Tilt, TiltDirection}
X | Offset on the X-axis from the PointCloud origin.
Y | Offset on the Y-axis from the PointCloud origin.
Z | Offset on the Z-axis from the PointCloud origin.
Tilt | Specifies the tilt angle (in degrees) from the PointCloud Z-axis. The value range is 0 – 180. External references with values outside the allowed range will result in an error.
Tilt Direction | Specifies the direction of tilt (in degrees) from the rotated PointCloud X-axis, about the PointCloud Z-axis. The value range is -360 to 360. External references with values outside the allowed range will be normalized to the allowed range.
Note: This parameter is available only if External Plane 2 is set to 0.
External Plane 2 | Specifies a reference to a Plane3D structure defined in another cell to be used as the third plane in constructing the 3D point. Set to 0 (OFF) to use the function's internal Plane3D structure.
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

Returns | A Point3D data structure containing the constructed 3D point, or #ERR if any of the input parameters are invalid.
Results | When initially inserted into a cell, the following functions are automatically inserted into the spreadsheet to create a result table.
| X | Y | Z
❒Point3D | GetX(Point3D) | GetY(Point3D) | GetZ(Point3D)

Vision Data Access functions

The following Structures 3D Vision Data Access functions are automatically inserted into the spreadsheet to create the result table:

Function | Description
GetX(Point3D) | Returns the X-axis coordinate of the 3D point.
GetY(Point3D) | Returns the Y-axis coordinate of the 3D point.
GetZ(Point3D) | Returns the Z-axis coordinate of the 3D point.