org.geotools.caching.util
Class CacheUtil

java.lang.Object
  extended by org.geotools.caching.util.CacheUtil

public class CacheUtil
extends java.lang.Object


Constructor Summary
CacheUtil()
           
 
Method Summary
static Region convert(com.vividsolutions.jts.geom.Envelope e)
          Converts and envelope to a region.
static com.vividsolutions.jts.geom.Envelope convert(Region r)
          Converts a region to an envelope.
static com.vividsolutions.jts.geom.Envelope extractEnvelope(BBOXImpl filter)
          Extracts an envelope from a bbox filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheUtil

public CacheUtil()
Method Detail

extractEnvelope

public static com.vividsolutions.jts.geom.Envelope extractEnvelope(BBOXImpl filter)
Extracts an envelope from a bbox filter.

Parameters:
filter -
Returns:

convert

public static Region convert(com.vividsolutions.jts.geom.Envelope e)
Converts and envelope to a region.

Parameters:
e -
Returns:
null if e is null; otherwise a region

convert

public static com.vividsolutions.jts.geom.Envelope convert(Region r)
Converts a region to an envelope.

Parameters:
r -
Returns:


Copyright © 1996-2010 Geotools. All Rights Reserved.