# Dist3D Vision Data Access functions

This section lists the available 3D Vision Data Access functions that get values from a Dist3D structure, created by a PointToLine3D, PointToPlane3D, or PointToPoint3D 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..

Note: Each of the following functions references a Dist3D structure for the first parameter. Index (zero-based) determines which point of the Dist3D structure you want to reference. If you do not specify the index, the index defaults to zero, meaning the function returns the first point.

Function | Description
GetAngleX(Dist3D, [Index]) | Returns the rotation of the specified Dist3D structure on the X-axis.
GetAngleY(Dist3D, [Index]) | Returns the rotation of the specified Dist3D structure on the Y-axis.
GetAngleZ(Dist3D, [Index]) | Returns the rotation of the specified Dist3D structure on the Z-axis.
GetDistance(Dist3D, [Index]) | Returns the distance between the specified Dist3D structure and the point cloud A point cloud is a 3D structure that consists of the data points collected by a 3D vision system during acquisition. center.
GetRotation(Dist3D, [Index]) | Returns the tilt direction angle of the specified Dist3D structure in degrees. The angle is measured in the X-Y plane of the original reference coordinate system, and specifies the direction for the projection of the tilted Z-axis onto that plane.
GetTilt(Dist3D, [Index]) | Returns the tilt angle of the Dist3D structure in degrees on the Z-axis.
GetTiltDirection(Dist3D, [Index]) | Returns the rotation of the Z-axis in degrees, also known as the in-plane rotation.
GetX(Structure, [Index1], [Index2]) | Returns the X-axis coordinate of the specified Dist3D structure. Note: In case of edges, Index2 specifies an endpoint with the available values being 0 or 1. In case of ReadIDMax, it specifies the corner of the symbol.
GetY(Structure, [Index1], [Index2]) | Returns the Y-axis coordinate of the specified Dist3D structure. Note: In case of edges, Index2 specifies an endpoint with the available values being 0 or 1. In case of ReadIDMax, it specifies the corner of the symbol.
GetZ(Structure, [Index1], [Index2]) | Returns the Z-axis coordinate of the specified Dist3D structure. Note: In case of edges, Index2 specifies an endpoint with the available values being 0 or 1. In case of ReadIDMax, it specifies the corner of the symbol.