org.geotools.renderer.shape
Class BoundsExtractor

Object
  extended by AbstractFilterVisitor
      extended by BoundsExtractor
All Implemented Interfaces:
FilterVisitor

public class BoundsExtractor
extends AbstractFilterVisitor

Visits a filter and extracts the minimum bounds that the filter requires.

Author:
jones

Constructor Summary
BoundsExtractor(Envelope bbox)
           
BoundsExtractor(int minx, int maxx, int miny, int maxy)
           
 
Method Summary
 Envelope getFilterEnvelope()
           
 Envelope getIntersection()
           
 Envelope getNotEnvelope()
           
 
Methods inherited from class AbstractFilterVisitor
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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundsExtractor

public BoundsExtractor(Envelope bbox)

BoundsExtractor

public BoundsExtractor(int minx,
                       int maxx,
                       int miny,
                       int maxy)
Method Detail

getIntersection

public Envelope getIntersection()
Returns:
the intersecton of the new bbox and the original

getFilterEnvelope

public Envelope getFilterEnvelope()
Returns:
the intersecton of the new bbox and the original

getNotEnvelope

public Envelope getNotEnvelope()


Copyright © 1996-2009 Geotools. All Rights Reserved.