Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / ShapeFactory.java @ 213

History | View | Annotate | Download (1.1 KB)

1
/* Generated by Together */
2

    
3
package com.iver.cit.gvsig.fmap;
4

    
5
import com.iver.cit.gvsig.fmap.fshape.FGeometry;
6
import com.iver.cit.gvsig.fmap.fshape.GeneralPathX;
7
import com.iver.cit.gvsig.fmap.fshape.Point2D;
8
import com.iver.cit.gvsig.fmap.fshape.Polyline2D;
9

    
10
/**
11
 * Clase que crea las geometr?as, contendra un m?todo create por cada tipo de geometria que soporte gvSIG 
12
 */
13
public class ShapeFactory {
14
    public static FGeometry createPoint2D(double x, double y  ) {
15
            //TODO implementar bien
16
            return null;
17
    }
18
    
19
    public static FGeometry createMultipoint2D(double[] x, double[] y){
20
            //TODO implementar bien
21
            return null;
22
    }
23

    
24
    public static FGeometry createPoint3D(double x, double y, double z) {
25
            //TODO implementar bien
26
            return null;
27
    }
28

    
29
    public static FGeometry createMultipoint3D(double x, double y, double z) {
30
            //TODO implementar bien
31
            return null;
32
    }
33

    
34
    public static FGeometry createPolyline(GeneralPathX shape) {
35
            return new Polyline2D(shape);
36
    }
37

    
38
    public static void createLabel(String text, boolean scaled, Point2D pos, int height) {
39
    }
40
}