Revision 26866 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/Point2D.java
Point2D.java | ||
---|---|---|
50 | 50 |
import org.cresques.cts.IProjection; |
51 | 51 |
import org.gvsig.fmap.geom.DirectPosition; |
52 | 52 |
import org.gvsig.fmap.geom.GeometryLocator; |
53 |
import org.gvsig.fmap.geom.Geometry.SUBTYPES; |
|
53 | 54 |
import org.gvsig.fmap.geom.handler.AbstractHandler; |
54 | 55 |
import org.gvsig.fmap.geom.handler.FinalHandler; |
55 | 56 |
import org.gvsig.fmap.geom.handler.Handler; |
... | ... | |
67 | 68 |
|
68 | 69 |
/** Instancia de GeometryType obtenida al registrar esta clase */ |
69 | 70 |
private static final GeometryType geomType = GeometryLocator.getGeometryManager() |
70 |
.registerGeometryType(Point2D.class,null,TYPES.POINT);
|
|
71 |
.registerGeometryType(Point2D.class, null, TYPES.POINT, SUBTYPES.GEOM2D);
|
|
71 | 72 |
|
72 | 73 |
public static final int CODE = geomType.getId(); |
73 | 74 |
|
Also available in: Unified diff