[Overview][Types][Procedures and functions][Index] Reference for unit 'GraphMath' (#lazutils)

Distance

Get the Distance between any two Points. It is primarily for use in other routines such as EccentricAngle.

Declaration

Source position: graphmath.pp line 66

function Distance(

  const PT1: TPoint;

  const Pt2: TPoint

):Extended; overload;

function Distance(

  const Pt: TFloatPoint;

  const SP: TFloatPoint;

  const EP: TFloatPoint

):Extended; overload;