Revision 32872 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/ShapeMFactory.java

View differences:

ShapeMFactory.java
132 132
		return new FGeometryM(new FPolyline2DM(gp, aMs));
133 133
	}
134 134

  
135
	public static IGeometry createPolygon2DM(GeneralPathX shape, double[] pM) {
136
		throw new UnsupportedOperationException();
135
	public static IGeometry createPolygon2DM(GeneralPathX gp, double[] pM) {
136
		return new FGeometryM(new FPolygon2DM(gp, pM));
137 137
	}
138 138

  
139 139

  
140 140
	public static IGeometry createMultipoint2DM(double[] x, double[] y,
141
			double[] m) {
141
			double[] m) {		
142 142
		throw new UnsupportedOperationException();
143 143
	}
144 144

  

Also available in: Unified diff