Revision 42463 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

View differences:

AbstractPoint.java
298 298
    }
299 299

  
300 300
    public Envelope getEnvelope() {
301
        // TOCRY: En alg?n momento habr? que probar qu? ocurre en gvSIG si esto
302
        // devuelve lo que deber?a
303
        return new Envelope2D(this.getX() - 0.01, this.getY() - 0.01, this.getX() + 0.02, this.getY() + 0.02);
301
        return new Envelope2D(this.getX(), this.getY(), this.getX(), this.getY());
304 302
    }
305 303

  
306 304

  
......
329 327
    public void flip() throws GeometryOperationNotSupportedException, GeometryOperationException {
330 328
        //Do nothing
331 329
    }
332
    
330

  
333 331
    public String toString() {
334 332
        StringBuilder builder = new StringBuilder();
335 333
        builder.append("POINT (");

Also available in: Unified diff