Revision 47351
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/DefaultEnvelope.java | ||
---|---|---|
378 | 378 |
state.set(UPPERCORNER_FIELD, max); |
379 | 379 |
} |
380 | 380 |
|
381 |
@Override |
|
381 | 382 |
public Object clone() throws CloneNotSupportedException { |
382 | 383 |
DefaultEnvelope other = (DefaultEnvelope) super.clone(); |
384 |
other.setProjection(this.getProjection()); |
|
383 | 385 |
if (!isEmpty){ |
384 | 386 |
other.max = (Point) max.cloneGeometry(); |
385 | 387 |
other.min = (Point) min.cloneGeometry(); |
Also available in: Unified diff