отсортировать массив точек по часовой стрелке
function SortDoublePointArray(const APnts: TArrayDoublePoint): PArrayDoublePoint;