TResultPointHelpers.orderBestPatterns Method

Definition

Orders an array of three ResultPoints in an order [A,B,C] such that AB is less than AC and BC is less than AC and the angle between BC and BA is less than 180 degrees.

Delphi
class procedure orderBestPatterns(const patterns: TArray<IResultPoint>)

Parameters

patterns
TArray<IResultPoint>

array of three IResultPoint to order