/** * Computes the set-theoretic symmetric difference of two geometries, * using enhanced precision. * @param geom0 the first Geometry * @param geom1 the second Geometry * @return the Geometry representing the set-theoretic symmetric difference of the input Geometries. */ public Geometry symDifference(Geometry geom0, Geometry geom1) { Geometry[] geom = removeCommonBits(geom0, geom1); return computeResultPrecision(geom[0].symDifference(geom[1])); }
Geometry result = geom0.symDifference(geom1); return result;
static public Geometry symDifference(Geometry arg0,Geometry arg1) { if (arg0 == null || arg1 == null) return null; Geometry _this = arg0; return _this.symDifference(arg1); }
static public Geometry symDifference(Geometry arg0,Geometry arg1) { Geometry _this = arg0; return _this.symDifference(arg1); }
/** * @param a Geometry instance. * @param b Geometry instance * @return the symmetric difference between two geometries */ public static Geometry symDifference(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.symDifference(b); } }
/** * @param a Geometry instance. * @param b Geometry instance * @return the symmetric difference between two geometries */ public static Geometry symDifference(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.symDifference(b); } }
public static Geometry symDifference(Geometry a, Geometry b) { return a.symDifference(b); }
/** * @param a Geometry instance. * @param b Geometry instance * @return the symmetric difference between two geometries */ public static Geometry symDifference(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.symDifference(b); } }
public static Geometry symDifference(Geometry a, Geometry b) { return a.symDifference(b); }
public Geometry symDifference(Geometry other) { return geometry.symDifference(other); }
protected MultiPolygon xor(final MultiPolygon subject) { return runMultiPolygonClipping(subject, (sub, clipping) -> sub.symDifference(clipping)); }
protected MultiPolygon xor(final Polygon subject) { return runPolygonClipping(subject, (sub, clipping) -> sub.symDifference(clipping)); }
protected List<PolyLine> xor(final PolyLine subject) { return runPolyLineClipping(subject, (sub, clipping) -> sub.symDifference(clipping)); }
/** * Computes the set-theoretic symmetric difference of two geometries, * using enhanced precision. * @param geom0 the first Geometry * @param geom1 the second Geometry * @return the Geometry representing the set-theoretic symmetric difference of the input Geometries. */ public Geometry symDifference(Geometry geom0, Geometry geom1) { Geometry[] geom = removeCommonBits(geom0, geom1); return computeResultPrecision(geom[0].symDifference(geom[1])); }
public List<? extends PolyLine> xor(final PolyLine subject) { return processResult(getJts(subject).symDifference(this.jtsClipping)); }
public static GeometryType symDifference(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return getGeometryType(g1.symDifference(g2)); }
@Override public Item item(final QueryContext qc, final InputInfo ii) throws QueryException { return toElement(checkGeo(0, qc).symDifference(checkGeo(1, qc)), qc); } }
Geometry ret = iter.next(); while(iter.hasNext()){ ret = ret.symDifference(iter.next());
public static GeometryType symDifference(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return getGeometryType(g1.symDifference(g2), geom1.getSrid()); }
public static GeometryType symDifference(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return getGeometryType(g1.symDifference(g2), geom1.getSrid()); }