com.nutiteq.components
Class WgsBoundingBox

java.lang.Object
  extended by com.nutiteq.components.WgsBoundingBox

public class WgsBoundingBox
extends java.lang.Object

Bounding box containing corner coordinates in WGS84.


Constructor Summary
WgsBoundingBox(double wgsMinLon, double wgsMinLat, double wgsMaxLon, double wgsMaxLat)
           
WgsBoundingBox(WgsPoint wgsMin, WgsPoint wgsMax)
           
 
Method Summary
 WgsPoint getBoundingBoxCenter()
          Calculate approximate center for this bounding box
 WgsPoint getWgsMax()
           
 WgsPoint getWgsMin()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WgsBoundingBox

public WgsBoundingBox(WgsPoint wgsMin,
                      WgsPoint wgsMax)

WgsBoundingBox

public WgsBoundingBox(double wgsMinLon,
                      double wgsMinLat,
                      double wgsMaxLon,
                      double wgsMaxLat)
Method Detail

getWgsMin

public WgsPoint getWgsMin()

getWgsMax

public WgsPoint getWgsMax()

getBoundingBoxCenter

public WgsPoint getBoundingBoxCenter()
Calculate approximate center for this bounding box

Returns:
center point for bounding box in WGS84

toString

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