Source position: Img32.pas line 1060
function GetAvgUnitVector(
const vec1: TPointD;
const vec2: TPointD
):TPointD;