com.esri.sde.sdk.geom
Class SeEnvelope

java.lang.Object
  extended by com.esri.sde.sdk.geom.SeEnvelope

public class SeEnvelope
extends java.lang.Object

This class represents the extent of the geometric object.


Constructor Summary
SeEnvelope()
          Creates a default envelope object.
SeEnvelope(double minx, double miny, double maxx, double maxy)
          Creates an envelope object given the xy range.
 
Method Summary
 double[] getExtent()
          Returns an array of doubles in minx, miny, maxx, maxy order.
 double getMaxX()
          Returns the maximum x value.
 double getMaxY()
          Returns the maximum y value.
 double getMinX()
          Returns the minimum x value.
 double getMinY()
          Returns the minimum y value.
 boolean isEmpty()
          Returns true if given envelope is empty.
 void setExtent(double minx, double miny, double maxx, double maxy)
          Sets bounding box of the envelope given the xy range.
 void setMaxX(double maxX)
          Sets the maximum x value.
 void setMaxY(double maxY)
          Sets the maximum y value.
 void setMinX(double minX)
          Sets the minimum x value.
 void setMinY(double minY)
          Sets the minimum y value.
 java.lang.String toString()
          Returns the string representation of the envelope.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeEnvelope

public SeEnvelope()
Creates a default envelope object.


SeEnvelope

public SeEnvelope(double minx,
                  double miny,
                  double maxx,
                  double maxy)
Creates an envelope object given the xy range.

Method Detail

getExtent

public double[] getExtent()
Returns an array of doubles in minx, miny, maxx, maxy order.


setExtent

public void setExtent(double minx,
                      double miny,
                      double maxx,
                      double maxy)
Sets bounding box of the envelope given the xy range.


getMinX

public double getMinX()
Returns the minimum x value.


getMinY

public double getMinY()
Returns the minimum y value.


getMaxX

public double getMaxX()
Returns the maximum x value.


getMaxY

public double getMaxY()
Returns the maximum y value.


setMinX

public void setMinX(double minX)
Sets the minimum x value.


setMinY

public void setMinY(double minY)
Sets the minimum y value.


setMaxX

public void setMaxX(double maxX)
Sets the maximum x value.


setMaxY

public void setMaxY(double maxY)
Sets the maximum y value.


isEmpty

public boolean isEmpty()
Returns true if given envelope is empty.


toString

public java.lang.String toString()
Returns the string representation of the envelope.

Overrides:
toString in class java.lang.Object