PairMaxDistance

Finds the maximum distance between edges in a pair. PairMaxDistance searches an array of edge pairs contained within an Edge data structure for the edge pair enclosing the largest arc length and returns the distance value.

PairMaxDistance Inputs

Parameter Description

Edges

A reference to a spreadsheet cell containing anEdge data structure, which must consist of multiple straight-line edges. The function expects the input Edge data structure to be sorted by pairs, such that evenly-indexed edges contain the first edge of an edge pair, and oddly-indexed edges contain the second edge of an edge pair.

PairMaxDistance Outputs

Returns

A value representing the largest edge pair distance, or #ERR if any of the input parameters are invalid.