Revision 262 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/ShapeFactory.java

View differences:

ShapeFactory.java
8 8
 */
9 9
public class ShapeFactory {
10 10
    public static FGeometry createPoint2D(double x, double y  ) {
11
    	return new Point2D(x,y);
11
    	return new FPoint2D(x,y);
12 12
    }
13 13
    
14 14
    public static FGeometry createMultipoint2D(double[] x, double[] y){
15
       	return new MultiPoint2D(x,y);
15
       	return new FMultiPoint2D(x,y);
16 16
    }
17 17

  
18 18
    public static FGeometry createPoint3D(double x, double y, double z) {
19
    	return new Point3D(x,y,z);
19
    	return new FPoint3D(x,y,z);
20 20
    }
21 21

  
22 22
    public static FGeometry createMultipoint3D(double[] x, double[] y, double[] z) {
23
    	return new Multipoint3D(x,y,z);
23
    	return new FMultipoint3D(x,y,z);
24 24
    }
25 25

  
26 26
    public static FGeometry createPolyline2D(GeneralPathX shape) {
27
    	return new Polyline2D(shape);
27
    	return new FPolyline2D(shape);
28 28
    }
29 29
    public static FGeometry createPolyline3D(GeneralPathX shape,double[] pZ) {
30
    	return new Polyline3D(shape,pZ);
30
    	return new FPolyline3D(shape,pZ);
31 31
    }
32 32
    
33 33
    public static FGeometry createPolygon2D(GeneralPathX shape){
34
    	return new Polygon2D(shape);
34
    	return new FPolygon2D(shape);
35 35
    }
36
    public static FGeometry createLabel(String text, boolean scaled, Point2D pos, int height) {
36
    public static FGeometry createLabel(String text, boolean scaled, FPoint2D pos, int height) {
37 37
    	//TODO implementar bien
38 38
    	return null;
39 39
    }

Also available in: Unified diff