# Structures Vision Data Access functions

This section lists the Vision Data Access functions that get values from data structures as input.

Note: The Structure argument of the following functions must be a reference to the data structure returned by an Annulus, Circle, Cross, Fixture, Fixtures, Line, Point or Region 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.. The valid structures for each function are indicated in the description.

Function | Description
--- | ---
GetAngle(Structure, [Index]) | Returns the Angle value from the indexed Cross, Fixture or Region data structure.
GetCount(Structure) | Returns the Count value from the specified structure.
GetCurve(Structure, [Index]) | Returns an angle-of-curvature value in clockwise degrees from the indexed Region structure.
GetHeight(Structure, [Index]) | Returns the height value from the indexed Cross or Region structure in pixels.
GetNPoints(Structure, [Index]) | Returns the number of points of a structure.
GetNSubregions(CompositeRegion, [Index]) | Returns the number of subregions of a composite region.
GetOperation(CompositeRegion, [Index]) | Returns the operation of the specified subregion of a composite region.
GetRadius(Structure, Index) | Returns the Radius value from the indexed Annulus or Circle structure in pixels.
GetSegmentArea(Mask, Index) | Returns the area of the indexed segment from a Mask structure, or segment 0 if no index is specified.
GetSegmentX(Mask, Index) | Returns the X coordinate of the indexed segment from a Mask structure, or segment 0 if no index is specified.
GetSegmentY(Mask, Index) | Returns the Y coordinate of the indexed segment from a Mask structure, or segment 0 if no index is specified.
GetSubregionType(CompositeRegion, Index) | Returns the shape type of the specified subregion.
GetWidth(Structure) | Returns the width value from the indexed Cross or Region structure in pixels.
GetX(Structure, [Index1], [Index2]) | Returns an X-coordinate from the indexed Annulus, Circle, Cross, Fixture, Fixtures, Line, Point or Region structure. Note: Index2, Edges-only, specifies an end point (0 or 1).
GetY(Structure, [Index1], [Index2]) | Returns the Y-coordinate from the indexed Annulus, Circle, Cross, Fixture, Fixtures, Line, Point or Region structure. Note: Index2, Edges-only, specifies an end point (0 or 1).