Package org.geotools.process.vector
Class BBOXExpandingFilterVisitor
- Object
-
- DuplicatingFilterVisitor
-
- BBOXExpandingFilterVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class BBOXExpandingFilterVisitor extends DuplicatingFilterVisitor
ADuplicatingFilterVisitor
which expands theBBOX
of the filter by given distances for each box edge.- Author:
- Martin Davis - OpenGeo
-
-
Field Summary
-
Fields inherited from class DuplicatingFilterVisitor
ff
-
-
Constructor Summary
Constructors Constructor Description BBOXExpandingFilterVisitor(double expandMinX, double expandMaxX, double expandMinY, double expandMaxY)
Creates a new expanding filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(BBOX filter, Object extraData)
Expands the BBOX in the Filter.-
Methods inherited from class DuplicatingFilterVisitor
getFactory, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitNullFilter
-
-
-
-
Constructor Detail
-
BBOXExpandingFilterVisitor
public BBOXExpandingFilterVisitor(double expandMinX, double expandMaxX, double expandMinY, double expandMaxY)
Creates a new expanding filter.- Parameters:
expandMinX
- the distance to expand the box X dimension leftwardsexpandMaxX
- the distance to expand the box X dimension rightwardsexpandMinY
- the distance to expand the box Y dimension downwardsexpandMaxY
- the distance to expand the box Y dimension upwards
-
-
Method Detail
-
visit
public Object visit(BBOX filter, Object extraData)
Expands the BBOX in the Filter.- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDuplicatingFilterVisitor
-
-