Revision 21731 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/Point2DZ.java

View differences:

Point2DZ.java
52 52
public class Point2DZ extends Point2D implements Point{
53 53

  
54 54
	private static final long serialVersionUID = 1L;
55
	
55

  
56 56
	private static GeometryType geomType = GeometryManager.getInstance()
57 57
		.registerGeometryType(Point2DZ.class);
58 58

  
59
	public static int CODE = geomType.getType();	
60
	
59
	public static int CODE = TYPES.POINT | TYPES.Z;//geomType.getType();
60

  
61 61
	double z;
62 62

  
63 63
	/**
......
71 71
		super(id, projection, x, y);
72 72
		this.z = z;
73 73
	}
74
	
74

  
75 75
	public Point2DZ(double x, double y, double z) {
76 76
		this(null, null, x, y, z);
77 77
	}
......
106 106
	public int getCoordinateDimension() {
107 107
		return 3;
108 108
	}
109
	
109

  
110 110
	public GeometryType getGeometryType() {
111 111
		return geomType;
112 112
	}

Also available in: Unified diff