/** * Converts the Rectangle2D passed as parameter in a jts Geometry object * * @param r the rectangle to be converted * @return a geometry with the same vertices as the rectangle */ private Geometry rectangleToGeometry(Rectangle2D r) { return createRectangle(r.getMinX(), r.getMinY(), r.getWidth(), r.getHeight()); }
Geometry rect = createRectangle(x, y, w, h);
Geometry rect = createRectangle(x, y, w, h);
/** * Converts the Rectangle2D passed as parameter in a jts Geometry object * * @param r the rectangle to be converted * * @return a geometry with the same vertices as the rectangle */ private Geometry rectangleToGeometry(Rectangle2D r) { return createRectangle(r.getMinX(), r.getMinY(), r.getWidth(), r.getHeight()); }
/** * Converts the Rectangle2D passed as parameter in a jts Geometry object * * @param r the rectangle to be converted * * @return a geometry with the same vertices as the rectangle */ private Geometry rectangleToGeometry(Rectangle2D r) { return createRectangle(r.getMinX(), r.getMinY(), r.getWidth(), r.getHeight()); }
Geometry rect = createRectangle(x, y, w, h);
Geometry rect = createRectangle(x, y, w, h);
Geometry rect = createRectangle(x, y, w, h);
Geometry rect = createRectangle(x, y, w, h);