4748495051525354
Geometry intersection = geo1.intersection(geo2); return new StSPARQLSerializer().toLiteral(intersection); } else { throw new TypeErrorException("Intersection Function expects exactly 2 arguments: two geometry objects."); } }
4647484950515253
String pattern = args[2].toString(); return new Boolean(geo1.relate(geo2,pattern)); } else { throw new TypeErrorException("Relate Function expects exactly 3 arguments: two geometry objects and a intersection matrix."); } }
4849505152535455
Geometry difference = geo1.difference(geo2); return new StSPARQLSerializer().toLiteral(difference); } else { throw new TypeErrorException("Difference Function expects exactly 2 arguments: two geometry objects."); } }
4546474849505152
Geometry geo2 = GeoHelper.getStSPARQLGeometry(args[1]); return new Boolean(geo1.intersects(geo2)); } else { throw new TypeErrorException("Intersects Function expects exactly 2 arguments: two geometry objects."); } }
Geometry convexHull = geo.convexHull(); return new StSPARQLSerializer().toLiteral(convexHull); } else { throw new TypeErrorException("ConvexHull Function expects exactly 1 arguments: one geometry object."); } }
Geometry geo2 = GeoHelper.getStSPARQLGeometry(args[1]); return new Boolean(geo1.equals(geo2)); } else { throw new TypeErrorException("Equals Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getStSPARQLGeometry(args[1]); return new Boolean(geo1.within(geo2)); } else { throw new TypeErrorException("Within Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getStSPARQLGeometry(args[1]); return new Boolean(geo1.touches(geo2)); } else { throw new TypeErrorException("Touches Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getStSPARQLGeometry(args[1]); return new Boolean(geo1.disjoint(geo2)); } else { throw new TypeErrorException("Disjoint Function expects exactly 2 arguments: two geometry objects."); } }
818283848586878889
return new StSPARQLWktDeserializer().toGeometry(content); } else if(tl.getType().compareTo("<" + stGmlDataTypeURI + ">") == 0){ return new GmlDeserializer().toGeometry(content); } throw new TypeErrorException(); } throw new TypeErrorException(); }