Distance

function Distance(const pt1, pt2: TPoint): double; overload; inline;

function Distance(const pt1, pt2: TPointD): double; overload; inline;

function Distance(const path: TPathD; stopAt: integer = 0): double; overload;