# ExtractCylinder3D Vision Data Access functions

This section lists the available 3D Vision Data Access functions that get values from a Cylinders3D 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 the results contained in a Cylinders3D structure for the first parameter. Index (zero-based) determines which result 3D cylinder of the Cylinders3D structure you want to reference. If you do not specify the index, the index defaults to zero, meaning the function returns the first cylinder.

Function | Description
GetCylinder(Cylinders3D, [Index]) | Returns the extracted Cylinder3D structure with the specified index.
GetNFound(Cylinders3D) | Returns the number of found 3D cylinders.
GetNumInliers(Cylinders3D, [Index]) | Returns the number of inliers in the specified Cylinder3D structure. Note: You can only use the GetNumInliers() function when you use the Robust mode, otherwise the function shows an error.
GetResidualsMax(Cylinders3D, [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. in the specified Cylinder3D structure.
GetResidualsRMS(Cylinders3D, [Index]) | Returns the root mean square residual of the specified Cylinder3D structure.
GetScore(Cylinders3D, [Index]) | Returns the score of the extracted Cylinder3D structure between 0 – 100.