Revision 42334
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 | ||
---|---|---|
278 | 278 |
coord[2] = new com.vividsolutions.jts.geom.Coordinate(x + w, y + w); |
279 | 279 |
coord[3] = new com.vividsolutions.jts.geom.Coordinate(x, y + w); |
280 | 280 |
coord[4] = new com.vividsolutions.jts.geom.Coordinate(x, y); |
281 |
rect = JTSUtils.factory.createPolygon(coord);
|
|
281 |
rect = JTSUtils.createJTSPolygon(coord);
|
|
282 | 282 |
|
283 | 283 |
return getJTS().intersects(rect); |
284 | 284 |
} |
... | ... | |
711 | 711 |
} |
712 | 712 |
return false; |
713 | 713 |
} |
714 |
|
|
715 |
|
|
716 | 714 |
|
715 |
|
|
716 |
|
|
717 | 717 |
} |
Also available in: Unified diff