Java Point2D.Distance different than Pythagoras Theorem?
<p>I noticed that Point2D.Distance is actually returning a different result than if you manually calculate the distance between two points using Pythagoras Theorem.</p>

<p>The distance between (565.0, 575.0) and (25.0, 185.0) is mathematically 665.4. When using Distance to calculate this the returned value is 666.108.</p>

<p><strong>Is there any technical explanation for this?</strong></p>

<p>EDIT: My apologies, everyone. I had an error in my own calculations. After so little sleep I'm looking for ghosts in the machine. Sorry to waste your time.</p>