public BBOXImpl(FilterFactoryImpl factory, Expression name, double minx, double miny, double maxx, double maxy, String srs) { this(factory, name, factory.createBBoxExpression(new Envelope(minx, maxx, miny, maxy))); this.srs = srs; }
public BBOXImpl(FilterFactoryImpl factory, Expression name, double minx, double miny, double maxx, double maxy, String srs, MatchAction matchAction) { this(factory, name, factory.createBBoxExpression(new Envelope(minx, maxx, miny, maxy)), matchAction); this.srs = srs; }
bbox = createBBoxExpression(new Envelope(minx,maxx,miny,maxy));
public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs) { PropertyName name = null; if ( e instanceof PropertyName ) { name = (PropertyName) e; } else { throw new IllegalArgumentException(); } BBoxExpression bbox = null; try { bbox = createBBoxExpression(new Envelope(minx,maxx,miny,maxy)); } catch (IllegalFilterException ife) { new IllegalArgumentException().initCause(ife); } BBOXImpl box = new BBOXImpl(this,e,bbox); box.setPropertyName( name.getPropertyName() ); box.setSRS(srs); box.setMinX(minx); box.setMinY(miny); box.setMaxX(maxx); box.setMaxY(maxy); return box; }