Revision 42813 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/primitive/point/AbstractPoint.java
AbstractPoint.java | ||
---|---|---|
329 | 329 |
//Do nothing |
330 | 330 |
} |
331 | 331 |
|
332 |
public String toString() { |
|
333 |
StringBuilder builder = new StringBuilder(); |
|
334 |
builder.append("POINT ("); |
|
335 |
for( int i=0; i<this.getDimension(); i++) { |
|
336 |
builder.append(this.getCoordinateAt(i)); |
|
337 |
builder.append(" "); |
|
338 |
} |
|
339 |
builder.append(")"); |
|
340 |
return builder.toString(); |
|
341 |
} |
|
332 |
public abstract String toString(); |
|
333 |
|
|
342 | 334 |
} |
Also available in: Unified diff