Revision 42930 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/Envelope3D.java
Envelope3D.java | ||
---|---|---|
113 | 113 |
|
114 | 114 |
if (trans == null) { |
115 | 115 |
// clone |
116 |
return new Envelope2D(this.getLowerCorner(), this.getUpperCorner());
|
|
116 |
return new Envelope3D(this.getLowerCorner(), this.getUpperCorner());
|
|
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
// if (this.getDimension() > 2) { |
... | ... | |
191 | 191 |
return null; |
192 | 192 |
} |
193 | 193 |
|
194 |
return new Envelope3D(new Point3D(res_min.getX(), res_min.getX(), this.min.getCoordinateAt(2)), new Point3D( |
|
195 |
res_max.getX(), res_max.getX(), this.max.getCoordinateAt(2))); |
|
196 |
|
|
194 |
return new Envelope3D(new Point3D(res_min.getX(), res_min.getY(), this.min.getCoordinateAt(2)), new Point3D( |
|
195 |
res_max.getX(), res_max.getY(), this.max.getCoordinateAt(2))); |
|
197 | 196 |
} |
198 | 197 |
|
199 | 198 |
public static void registerPersistent() { |
Also available in: Unified diff