# ExtractSphere3D Vision Data Access functions

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

Note: Each of the following functions references the results contained in the Spheres3D structure for the first parameter. Index (zero-based) determines which result 3D sphere of the Spheres3D structure you want to reference. If you do not specify the index, the index defaults to zero, meaning the 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. returns the first sphere.

Function | Description
GetNFound(Spheres3D) | Returns the number of found spheres.
GetNumInliers(Spheres3D, index) | Returns the number of inliers for the specified 3D sphere. Note: You can only use the GetNumInliers() function when you use the Robust mode, otherwise the function shows an error.
GetResidualsMax(Spheres3D, [Index]) | Returns the maximum residual Residuals measure how far inlier points deviate from the fitted geometric model. The root-mean-squared (RMS) residual is the average distance of all inlier points from the model. The maximum residual is the largest distance among the inliers. Smaller residual values indicate a more accurate and less noisy model fit. for the specified 3D sphere.
GetResidualsRMS(Spheres3D, [Index]) | Returns the root mean square residual for the specified 3D sphere.
GetScore(Spheres3D, [Index]) | Returns the score of the extracted Sphere3D structure specified with the index number. The value is a number between 0 – 100.
GetSphere(Spheres3D, [Index]) | Returns the extracted Sphere3D structure with the specified index number.