GetDistanceBetweenPoints2D

From XPUB & Lens-Based wiki
Revision as of 11:12, 18 October 2011 by Jasper van Loenen (talk | contribs) (Created page with "===== Just the formula for now, no code examples (yet) ===== distance = sqrt( (x<sub>2</sub>-x<sub>1</sub>)<sup>2</sup> + (y<sub>2</sub>-y<sub>1</sub>)<sup>2</sup> )")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Just the formula for now, no code examples (yet)

distance = sqrt( (x2-x1)2 + (y2-y1)2 )