Revision 3885 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FGeometryCollection.java

View differences:

FGeometryCollection.java
40 40
 */
41 41
package com.iver.cit.gvsig.fmap.core;
42 42

  
43
import java.awt.Graphics2D;
44
import java.awt.geom.Point2D;
45
import java.awt.geom.Rectangle2D;
46
import java.io.IOException;
47
import java.util.ArrayList;
48

  
49
import org.cresques.cts.ICoordTrans;
50
import org.geotools.data.postgis.attributeio.WKBEncoder;
51

  
43 52
import com.iver.cit.gvsig.fmap.ViewPort;
44 53
import com.iver.cit.gvsig.fmap.core.v02.FLabel;
45 54
import com.iver.cit.gvsig.fmap.core.v02.FSymbol;
46 55
import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D;
47

  
48 56
import com.vividsolutions.jts.geom.Geometry;
49 57
import com.vividsolutions.jts.geom.GeometryCollection;
50 58
import com.vividsolutions.jts.geom.GeometryFactory;
51 59

  
52
import org.cresques.cts.ICoordTrans;
53
import org.geotools.data.postgis.attributeio.WKBEncoder;
54 60

  
55
import java.awt.Graphics2D;
56
import java.awt.geom.Point2D;
57
import java.awt.geom.Rectangle2D;
58
import java.io.IOException;
59
import java.util.ArrayList;
60

  
61

  
62 61
/**
63 62
 * Colecci?n de Geometr?as.
64 63
 *
......
235 234
    }
236 235

  
237 236
	/**
238
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#move(double, double)
239
	 */
240
/*	public void move(double x, double y) {
241
		for (int i = 0; i < geometries.size(); i++){
242
			((IGeometry)geometries.get(i)).move(x,y);
243
		}
244
	}
245
*/
246
	/**
247
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#rotate(double, double, double)
248
	 */
249
	/*public void rotate(double r, double x, double y) {
250
		for (int i = 0; i < geometries.size(); i++){
251
			((IGeometry)geometries.get(i)).rotate(r,x,y);
252
		}
253
	}
254
*/
255

  
256
	/**
257
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#scale(java.awt.geom.Point2D, double, double)
258
	 */
259
	/*public void scale(Point2D point, double x, double y) {
260
		for (int i = 0; i < geometries.size(); i++){
261
			((IGeometry)geometries.get(i)).scale(point,x,y);
262
		}
263
	}
264
*/
265
	/**
266 237
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#getShapes()
267 238
	 */
268 239
	/*public FShape[] getShapes() {
......
292 263
		}
293 264
		return (Handler[])handlers.toArray(new Handler[0]);
294 265
	}
266

  
267
	public void move(double x, double y) {
268
		for (int i = 0; i < geometries.size(); i++){
269
			((IGeometry)geometries.get(i)).move(x,y);
270
		}
271
	}
272
	/**
273
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#rotate(double, double, double)
274
	 */
275
	public void rotate(double r, double x, double y) {
276
		for (int i = 0; i < geometries.size(); i++){
277
			((IGeometry)geometries.get(i)).rotate(r,x,y);
278
		}
279
	}
280
	/**
281
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#scale(java.awt.geom.Point2D, double, double)
282
	 */
283
	public void scale(Point2D point, double x, double y) {
284
		for (int i = 0; i < geometries.size(); i++){
285
			((IGeometry)geometries.get(i)).scale(point,x,y);
286
		}
287
	}
288

  
295 289
}

Also available in: Unified diff