PairDistance

Computes the distance between two edges of an Edge data structure. PairDistance references two edges, by index number, and reports the distance between their midpoints. The segment over which the edge-to-edge distance is computed is derived from the region originally used to extract the edges from the image.

Note: If the PairDistance function is added to an Abs Math formula, [for example, Abs(B2)+PairDistance(C2,0,1)] it is recommended to insert the PairDistance function in its own spreadsheet cell and use Cell References into the Abs formula.