Revision 32934 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/impl/Point2D.java

View differences:

Point2D.java
419 419
	}
420 420

  
421 421
	public String toString() {
422
		return "Point2D(" + coordinates[0] + "," + coordinates[1] + ")";
422
		StringBuffer buffer = new StringBuffer();
423
		buffer.append("Point2D(").append(coordinates[0]);
424
		for(int i=1 ; i<coordinates.length; i++ ) {
425
			buffer.append(",").append(coordinates[i]);
426
		}
427
		buffer.append(")");
428
		return buffer.toString();
423 429
	}
424 430

  
425 431

  

Also available in: Unified diff