Source position: Clipper.Core.pas line 319
function GetClosestPointOnSegment(
const pt: TPoint64;
const seg1: TPoint64;
const seg2: TPoint64
):TPoint64;