Revision 29972 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/impl/Circle2D.java

View differences:

Circle2D.java
261 261
			Arc2D.Double arc = new Arc2D.Double(center.getX() - radio, center
262 262
					.getY()
263 263
					- radio, 2 * radio, 2 * radio, 0, 360, Arc2D.OPEN);
264
			gp = new GeneralPathX(arc);
264
			gp = new GeneralPathX(arc.getPathIterator(null));
265 265

  
266 266
		}
267 267
	}
......
310 310
			Arc2D.Double arc = new Arc2D.Double(center.getX() - radio, center
311 311
					.getY()
312 312
					- radio, 2 * radio, 2 * radio, 0, 360, Arc2D.OPEN);
313
			gp = new GeneralPathX(arc);
313
			gp = new GeneralPathX(arc.getPathIterator(null));
314 314
		}
315 315
	}
316 316

  
......
350 350
			new java.awt.geom.Arc2D.Double(center.getX() - radious, _center
351 351
				.getY()
352 352
				- radious, 2 * radious, 2 * radious, 0, 360, Arc2D.OPEN);
353
		this.gp = new GeneralPathX(arc);
353
		this.gp = new GeneralPathX(arc.getPathIterator(null));
354 354
		this.center = _center;
355 355
		this.radio = radious;	
356 356
	}
......
384 384
			new java.awt.geom.Arc2D.Double(center.getX() - radious, center
385 385
				.getY()
386 386
				- radious, 2 * radious, 2 * radious, 0, 360, Arc2D.OPEN);
387
		this.gp = new GeneralPathX(arc);
387
		this.gp = new GeneralPathX(arc.getPathIterator(null));
388 388
		this.center = center;
389 389
		this.radio = radious;	
390 390
		

Also available in: Unified diff