Revision 29798 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/operation/tojts/ToJTS.java

View differences:

ToJTS.java
7 7
import org.gvsig.fmap.geom.util.Converter;
8 8

  
9 9
public class ToJTS extends GeometryOperation {
10

  
11
	public static final int CODE = GeometryLocator.getGeometryManager()
12
			.registerGeometryOperation("toJTS", new ToJTS());
13

  
10
    public static final String NAME = "toJTS";
11
	public static final int CODE = GeometryLocator.getGeometryManager().
12
    	getGeometryOperationCode(NAME);	
13
	
14 14
	public Object invoke(Geometry geom, GeometryOperationContext ctx) {
15 15
		return Converter.geometryToJts(geom);
16 16
	}

Also available in: Unified diff