closestApproachProjectedXYPair MethodStatic

Convenience method that calls closeApproachProjectedXYPairs with a large maxDistance and returns a detail pair representing the closest xy-approach between the curves.

  • There may be many detail pairs that represent "closest" xy-approach, including coincident interval pairs, isolated intersections, or close approaches within tolerance of each other. This method makes no attempt to distinguish among them, and returns a pair whose detail.point values are separated by the smallest xy distance found among the pairs.

closestApproachProjectedXYPair(curveA: AnyCurve, curveB: AnyCurve): undefined | CurveLocationDetailPair

@returns detail pair of closest xy-approach, undefined if not found

Parameter Type Description
curveA AnyCurve first curve
curveB AnyCurve second curve

Returns - undefined | CurveLocationDetailPair

detail pair of closest xy-approach, undefined if not found

Defined in

Last Updated: 03 May, 2024