Revision 6430

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/toolListeners/CircleMeasureListener.java
94 94
			dist = 0;
95 95

  
96 96
			Point2D p = new Point2D.Double(event.getXs()[i].doubleValue(),
97
					event.getXs()[i].doubleValue());
97
					event.getYs()[i].doubleValue());
98 98
			Point2D p2 = new Point2D.Double(event.getXs()[i + 1].doubleValue(),
99
					event.getXs()[i + 1].doubleValue());
99
					event.getYs()[i + 1].doubleValue());
100 100

  
101 101
			///dist = vp.toMapDistance((int) p.distance(p2));
102 102
			dist = vp.distanceWorld(p, p2);

Also available in: Unified diff