org.opengts.extra.shapefile
Class BoundingBox

java.lang.Object
  extended by org.opengts.extra.shapefile.BoundingBox

public class BoundingBox
extends java.lang.Object


Constructor Summary
BoundingBox(BoundingBox bb)
           
BoundingBox(java.util.Collection<Shape> shapes)
           
BoundingBox(double xmin, double ymin, double xmax, double ymax)
           
BoundingBox(GeoBounds gb)
           
BoundingBox(Payload p)
           
BoundingBox(Shape sh)
           
 
Method Summary
static BoundingBox getBoundingBox(GeoPoint... gp)
           
static BoundingBox getBoundingBox(GeoPolygon gp)
           
 GeoBounds getGeoBounds()
           
 GeoPoint getMaxGeoPoint()
           
 GeoPoint getMinGeoPoint()
           
 double getXMax()
           
 double getXMin()
           
 double getYMax()
           
 double getYMin()
           
 java.lang.String toString()
           
 Payload write(Payload p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundingBox

public BoundingBox(Shape sh)

BoundingBox

public BoundingBox(java.util.Collection<Shape> shapes)

BoundingBox

public BoundingBox(GeoBounds gb)

BoundingBox

public BoundingBox(BoundingBox bb)

BoundingBox

public BoundingBox(Payload p)

BoundingBox

public BoundingBox(double xmin,
                   double ymin,
                   double xmax,
                   double ymax)
Method Detail

getBoundingBox

public static BoundingBox getBoundingBox(GeoPoint... gp)

getBoundingBox

public static BoundingBox getBoundingBox(GeoPolygon gp)

getXMin

public double getXMin()

getXMax

public double getXMax()

getYMin

public double getYMin()

getYMax

public double getYMax()

getMinGeoPoint

public GeoPoint getMinGeoPoint()

getMaxGeoPoint

public GeoPoint getMaxGeoPoint()

getGeoBounds

public GeoBounds getGeoBounds()

write

public Payload write(Payload p)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object