/** * Default implementation. */ public boolean within(Geometry g) { return baseGeom.within(g); }
/** * @param a Surface Geometry. * @param b Geometry instance * @return true if the geometry A is within the geometry B */ public static Boolean isWithin(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.within(b); } }
static public boolean within(Geometry arg0,Geometry arg1) { if (arg0 == null || arg1 == null) return false; Geometry _this = arg0; return _this.within(arg1); }
static public boolean within(Geometry arg0,Geometry arg1) { Geometry _this = arg0; return _this.within(arg1); }
/** * @param a Surface Geometry. * @param b Geometry instance * @return true if the geometry A is within the geometry B */ public static Boolean isWithin(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.within(b); } }
/** * @param geom first geometry * @param g second geometry * @return <code>true</code> if the first geometry is within the second */ public static boolean within(Geometry geom, Geometry g) { if (geom == null || g == null) return false; return geom.within(g); }
/** * Default implementation. */ public boolean within(Geometry g) { return baseGeom.within(g); }
/** * @param a Surface Geometry. * @param b Geometry instance * @return true if the geometry A is within the geometry B */ public static Boolean isWithin(Geometry a,Geometry b) { if(a==null || b==null) { return null; } return a.within(b); } }
@Override public boolean matches(Geometry geo) { return geo.within(queryGeo); } }
public boolean within(Geometry g) { return geometry.within(g); }
@Override public boolean isWithin( Geometry geometry ) { JTSGeometryPair jtsGeoms = JTSGeometryPair.createCompatiblePair( this, geometry ); return jtsGeoms.first.within( jtsGeoms.second ); }
private boolean checkForBboxFilter(Polygon envelop, WarnCell warnCell) { if (envelop != null) { return warnCell.getGeometry().within(envelop); } return true; }
@Override public boolean matches(Geometry geo) { return geo.getEnvelope().within(queryGeo); } }
public static Boolean within(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return g1.within(g2); }
public static Boolean within(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return g1.within(g2); }
public static boolean within(Object fieldValue, String geoString) { Geometry otherGeom = GeometryNormalizer.parseGeometry(geoString); Geometry thisGeom = getGeometryFromFieldValue(fieldValue); return thisGeom.within(otherGeom); }
public static Boolean within(GeometryType geom1, GeometryType geom2) throws FunctionExecutionException { Geometry g1 = getGeometry(geom1); Geometry g2 = getGeometry(geom2); return g1.within(g2); }
@Override public Item item(final QueryContext qc, final InputInfo ii) throws QueryException { return Bln.get(checkGeo(0, qc).within(checkGeo(1, qc))); } }
@Override protected boolean basicEvaluate(Geometry left, Geometry right) { Envelope envLeft = left.getEnvelopeInternal(); Envelope envRight = right.getEnvelopeInternal(); if(envRight.contains(envLeft)) return left.within(right); else return false; }
public boolean evaluate(Object feature) { if (feature instanceof Feature && !validate((Feature)feature)) return false; Geometry left = getLeftGeometry(feature); Geometry right = getRightGeometry(feature); Envelope envLeft = left.getEnvelopeInternal(); Envelope envRight = right.getEnvelopeInternal(); if(envRight.contains(envLeft)) return left.within(right); else return false; }