Revision 24488

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FSpline2D.java
40 40
 */
41 41
package com.iver.cit.gvsig.fmap.core;
42 42

  
43
import java.awt.geom.AffineTransform;
43 44
import java.awt.geom.Point2D;
44 45
import java.util.ArrayList;
45 46

  
......
50 51
 * @author Vicente Caballero Navarro
51 52
 */
52 53
public class FSpline2D extends FPolyline2D {
54

  
53 55
	private Point2D[] points;
54 56
	/**
55 57
	 * Crea un nuevo FPolyline2D.
......
99 101
	 * @see com.iver.cit.gvsig.fmap.core.FShape#cloneFShape()
100 102
	 */
101 103
	public FShape cloneFShape() {
102
		return new FSpline2D(points);
104
		return new FSpline2D(points.clone());
103 105
	}
104 106

  
105 107
	/* (non-Javadoc)
......
239 241
	    	}
240 242

  
241 243
	    }
244
	 public void transform(AffineTransform at) {
245
			for (int i=0;i<points.length;i++) {
246
				Point2D p=points[i];
247
				at.transform(p, p);
248
			}
249
		}
242 250
}

Also available in: Unified diff