Revision 45943 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/AbstractGeometry.java
AbstractGeometry.java | ||
---|---|---|
356 | 356 |
if (minx <= maxx && miny <= maxy && minz <= maxz) { |
357 | 357 |
Point min = new Point3D(minx, miny, minz); |
358 | 358 |
Point max = new Point3D(maxx, maxy, maxz); |
359 |
return new Envelope3D(min, max); |
|
359 |
return new Envelope3D(min, max, this.getProjection());
|
|
360 | 360 |
} |
361 |
return new Envelope3D(); |
|
361 |
return new Envelope3D(this.getProjection());
|
|
362 | 362 |
} else { |
363 | 363 |
com.vividsolutions.jts.geom.Envelope envelope = getJTS().getEnvelopeInternal(); |
364 |
return new Envelope2D(envelope); |
|
364 |
return new Envelope2D(envelope, this.getProjection());
|
|
365 | 365 |
} |
366 | 366 |
} |
367 | 367 |
|
Also available in: Unified diff