# Dist3D Vision Data Access Functions

This section lists the available 3D Vision Data Access Functions that get values from a Dist3D structure.

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 blob.

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 center.
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.