Revision 40727 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.impl/src/main/java/org/gvsig/fmap/geom/primitive/impl/Circle2D.java

View differences:

Circle2D.java
254 254
			Arc2D.Double arc = new Arc2D.Double(center.getX() - radio, center
255 255
					.getY()
256 256
					- radio, 2 * radio, 2 * radio, 0, 360, Arc2D.OPEN);
257
			gp = new GeneralPathX(arc.getPathIterator(null));
257
			gp = new GeneralPathX(arc.getPathIterator(null,
258
					geomManager.getFlatness()));
258 259
			gp.closePath();
259 260
		}
260 261
	}
......
303 304
			Arc2D.Double arc = new Arc2D.Double(center.getX() - radio, center
304 305
					.getY()
305 306
					- radio, 2 * radio, 2 * radio, 0, 360, Arc2D.OPEN);
306
			gp = new GeneralPathX(arc.getPathIterator(null));
307
			gp = new GeneralPathX(arc.getPathIterator(null,
308
					geomManager.getFlatness()));
307 309
		}
308 310
	}
309 311

  
......
343 345
			new java.awt.geom.Arc2D.Double(center.getX() - radious, _center
344 346
				.getY()
345 347
				- radious, 2 * radious, 2 * radious, 0, 360, Arc2D.OPEN);
346
		this.gp = new GeneralPathX(arc.getPathIterator(null));
348
		this.gp = new GeneralPathX(arc.getPathIterator(null,
349
				geomManager.getFlatness()));
347 350
		gp.closePath();
348 351
		this.center = _center;
349 352
		this.radio = radious;	
......
378 381
			new java.awt.geom.Arc2D.Double(center.getX() - radious, center
379 382
				.getY()
380 383
				- radious, 2 * radious, 2 * radious, 0, 360, Arc2D.OPEN);
381
		this.gp = new GeneralPathX(arc.getPathIterator(null));
384
		this.gp = new GeneralPathX(arc.getPathIterator(null,
385
				geomManager.getFlatness()));
382 386
		gp.closePath();
383 387
		this.center = center;
384 388
		this.radio = radious;	

Also available in: Unified diff