LineFromNPoints
Constructs a line from a list of points.
The LineFromNPoints 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. has the following syntax:
LineFromNPoints(Image, Point X 0, Point Y 0, Point X 1, Point X 1, Point Y 1, Point X 2, Point Y 2, [Point X 3, Point Y 3, …, Show])
See the table for a description of the available parameters.
| Parameter | Description | ||||||
|
Image |
This argument must reference a spreadsheet cell that contains a valid Image data structure. By default, the cell referenced is cell |
||||||
|
Point 0 |
Specifies the coordinates of the first point.
|
||||||
|
Point 1 |
Specifies the coordinates of the second point.
|
||||||
|
Point 2..N |
Specifies the coordinates of any additional points.
|
||||||
|
Show |
Specifies the graphics items to be displayed on a permanent basis.
|
|
Returns |
A LineFit data structure if two or more valid points are included in data, or #ERR if only one or no valid point is included in data. |
|||||||||||||||||||||||||||||||||
|
Results |
When the function is initially inserted into a cell, the following LineFit Vision Data Access functions are automatically inserted into the spreadsheet to create a result table:
Additional data elements can be accessed using the following Vision Data Access functions:
|