no.geodata.maputil
Class MapEnvelope

java.lang.Object
  extended by no.geodata.maputil.MapEnvelope

public class MapEnvelope
extends Object


Constructor Summary
MapEnvelope()
          Creates a new instance of MapPoint.
MapEnvelope(double maxX, double minX, double maxY, double minY)
          Creates a new instance of MapEnvelope
MapEnvelope(MapPoint ul, MapPoint lr)
          Creates a new instance of MapEnvelope
 
Method Summary
 double getCenterX()
          Gets a single value.
 double getCenterY()
          Gets a single value.
 MapPoint getLowerRight()
          Gets a single value.
 double getMaxX()
          Gets a single value.
 double getMaxY()
          Gets a single value.
 double getMinX()
          Gets a single value.
 double getMinY()
          Gets a single value.
 MapPoint getUpperLeft()
          Gets a single value.
 void setCenterX(double centerX)
          Sets single value.
 void setCenterY(double centerY)
          Sets single value.
 void setLowerRight(MapPoint lr)
          Sets single value.
 void setMaxX(double maxX)
          Sets single value.
 void setMaxY(double maxY)
          Sets single value.
 void setMinX(double minX)
          Sets single value.
 void setMinY(double minY)
          Sets single value.
 void setUpperLeft(MapPoint ul)
          Sets single value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEnvelope

public MapEnvelope()
Creates a new instance of MapPoint.


MapEnvelope

public MapEnvelope(double maxX,
                   double minX,
                   double maxY,
                   double minY)
Creates a new instance of MapEnvelope

Parameters:
maxX - double
minX - double
maxY - double
minY - double

MapEnvelope

public MapEnvelope(MapPoint ul,
                   MapPoint lr)
Creates a new instance of MapEnvelope

Parameters:
upperLeft - UpperLeft corner of Envelope
lowerRight - LowerRight corner of Envelope.
Method Detail

setMaxX

public void setMaxX(double maxX)
Sets single value.

Parameters:
maxX - double.

getMaxX

public double getMaxX()
Gets a single value.

Returns:
maxX double

setMinX

public void setMinX(double minX)
Sets single value.

Parameters:
minX - double.

getMinX

public double getMinX()
Gets a single value.

Returns:
minX double

setMaxY

public void setMaxY(double maxY)
Sets single value.

Parameters:
maxY - double.

getMaxY

public double getMaxY()
Gets a single value.

Returns:
maxY double

setCenterX

public void setCenterX(double centerX)
Sets single value.

Parameters:
centerX - double.

getCenterX

public double getCenterX()
Gets a single value.

Returns:
centerX double

setCenterY

public void setCenterY(double centerY)
Sets single value.

Parameters:
centerX - double.

getCenterY

public double getCenterY()
Gets a single value.

Returns:
centerX double

setMinY

public void setMinY(double minY)
Sets single value.

Parameters:
minY - double.

getMinY

public double getMinY()
Gets a single value.

Returns:
minY double

setUpperLeft

public void setUpperLeft(MapPoint ul)
Sets single value.

Parameters:
ul - UpperLeft corner of Envelope.

setLowerRight

public void setLowerRight(MapPoint lr)
Sets single value.

Parameters:
lr - LowerRight corner of Envelope.

getUpperLeft

public MapPoint getUpperLeft()
Gets a single value.

Returns:
MapPoint upperLeft

getLowerRight

public MapPoint getLowerRight()
Gets a single value.

Returns:
MapPoint lowerRight


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.