public static int getCode(Geometry geometry) {
		int code = getCode(geometry.getGeometryType());
		if (geometry.hasZ()) {
			code += 1000;
		}
		if (geometry.hasM()) {
			code += 2000;
		}
		return code;
	}
public static int getCode(Geometry geometry) {
		int code = getCode(geometry.getGeometryType());
		if (geometry.hasZ()) {
			code += 1000;
		}
		if (geometry.hasM()) {
			code += 2000;
		}
		return code;
	}
public static int getCode ( Geometry geometry ) { int code = getCode ( geometry . getGeometryType ( ) ) ; if ( geometry . hasZ ( ) ) { code += 1000 ; } if ( geometry . hasM ( ) ) { code += 2000 ; } return code ; }
Get the geometry code from the geometry

@param geometry
geometry
@return geometry code
Get the geometry code from the geometry