twaver.gis.utils
Class GridBbox

java.lang.Object
  extended bytwaver.gis.utils.GridBbox

public class GridBbox
extends java.lang.Object

A GridBbox instance represents the the bound of an geographical area.


Constructor Summary
GridBbox()
           
GridBbox(double[] bounds)
           
GridBbox(double minx, double miny, double maxx, double maxy)
           
 
Method Summary
 boolean contain(GeoCoordinate coordinate)
           
 boolean contain(GridBbox bbox)
           
 boolean equals(java.lang.Object target)
           
 double getHeight()
           
 double getMaxx()
           
 double getMaxy()
           
 double getMinx()
           
 double getMiny()
           
 double getWidth()
           
 void setMaxx(double maxx)
           
 void setMaxy(double maxy)
           
 void setMinx(double minx)
           
 void setMiny(double miny)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridBbox

public GridBbox()

GridBbox

public GridBbox(double minx,
                double miny,
                double maxx,
                double maxy)

GridBbox

public GridBbox(double[] bounds)
Method Detail

getMaxx

public double getMaxx()

getMaxy

public double getMaxy()

getMinx

public double getMinx()

getMiny

public double getMiny()

getWidth

public double getWidth()

getHeight

public double getHeight()

toString

public java.lang.String toString()

contain

public boolean contain(GeoCoordinate coordinate)

contain

public boolean contain(GridBbox bbox)

setMaxx

public void setMaxx(double maxx)

setMaxy

public void setMaxy(double maxy)

setMinx

public void setMinx(double minx)

setMiny

public void setMiny(double miny)

equals

public boolean equals(java.lang.Object target)