Air casan a thèid do chuideachadh a bhith a ' lorg an t-astar eadar points. An t-astar eadar 2 points (A) agus (B) calculated an diabhal L = square root ((x2−x1)2+(y2−y1)2).