/[classpath]/classpath/java/awt/geom/Point2D.java
ViewVC logotype

Diff of /classpath/java/awt/geom/Point2D.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by ericb, Fri Mar 22 16:54:31 2002 UTC revision 1.5 by tromey, Mon Apr 8 18:04:51 2002 UTC
# Line 122  public abstract class Point2D implements Line 122  public abstract class Point2D implements
122     */     */
123    static public double distance(double x1, double y1, double x2, double y2)    static public double distance(double x1, double y1, double x2, double y2)
124    {    {
125      return Math.sqrt(distance(x1, y1, x2, y2));      return Math.sqrt(distanceSq(x1, y1, x2, y2));
126    }    }
127    
128    /**    /**

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26