PairEdges
Sorts arrays of edges into arrays of edge pairs. PairEdges scans an Edge data structure for edge pairs that fall within the specified tolerance. Edges belonging to a pair are ordered consecutively, such that the first edge of a pair is on an even index number and the second edge of a pair is on an odd index number.
PairEdges Inputs
Parameter | Description | ||||||||
Edges |
A reference to a spreadsheet cell containing an Edge data structure, which must consist of multiple straight-line edges. |
||||||||
Number of Pairs |
Specifies the maximum number of pairs to be reported. (0 to 80; default = 1) |
||||||||
Edge: First |
Specifies the polarity of the first edge in a pair. PairEdges will only report edge pairs whose first edge has the specified polarity.
|
||||||||
Edge: Second |
Specifies the polarity of the second edge in a pair. PairEdges will only report edge pairs whose second edge has the specified polarity.
|
||||||||
Edge Dist: Min |
Specifies the minimum arc distance (0 to 1920; default = 0) between edges in a pair. PairEdges will only report edge pairs that are more than Edge Dist: Min distance apart. |
||||||||
Edge Dist: Max |
Specifies the maximum arc distance (0 to 1920; default = 50) between edges in a pair. PairEdges will only report edge pairs that are less than Edge Dist: Max distance apart. |
||||||||
Intermediate Edges |
Specifies the expected number and polarity of edges that fall between the end points of an edge pair. PairEdges will only report edge pairs with an expected number of intermediate edges.
|
||||||||
Show |
Specifies the display mode for PairEdges graphical overlays on top of the image.
|
PairEdges Outputs
Returns |
An Edge data structure containing paired edges, or #ERR if any of the input parameters are invalid. |
||||||||||||||||||
Results |
When PairEdges is initially inserted into a cell, a result table is created in the spreadsheet. The following Edges Vision Data Access Functions are automatically inserted into the spreadsheet to create the result table:
|
Additional data elements can be accessed using Edges Vision Data Access Functions.