com.esri.arcgis.datasourcesraster
Class DblRect

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.DblRect
All Implemented Interfaces:
IRect, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DblRect
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRect

A simple rectangle class.

Remarks

DblRect object is not intended to be used by developers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
DblRect()
          Constructs a DblRect using ArcGIS Engine.
DblRect(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DblRect theDblRect = (DblRect) obj;
 
Method Summary
 void convert2Env(IEnvelope env)
          Set ESRI's Envelope Object from a rectangle.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 double getXMax()
          Maximum X value of the rectangle.
 double getXMin()
          Minimum X value of the rectangle.
 double getYMax()
          Maximum Y value of the rectangle.
 double getYMin()
          Minimum Y value of the rectangle.
 int hashCode()
          the hashcode for this object
 void set2Env(IEnvelope env)
          Reset from ESRI's Envelope Object.
 void setXMax(double pVal)
          Maximum X value of the rectangle.
 void setXMin(double pVal)
          Minimum X value of the rectangle.
 void setYMax(double pVal)
          Maximum Y value of the rectangle.
 void setYMin(double pVal)
          Minimum Y value of the rectangle.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

DblRect

public DblRect()
        throws IOException,
               UnknownHostException
Constructs a DblRect using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DblRect

public DblRect(Object obj)
        throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DblRect theDblRect = (DblRect) obj;

Construct a DblRect using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DblRect.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getXMax

public double getXMax()
               throws IOException,
                      AutomationException
Maximum X value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getXMax in interface IRect
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXMax

public void setXMax(double pVal)
             throws IOException,
                    AutomationException
Maximum X value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setXMax in interface IRect
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXMin

public double getXMin()
               throws IOException,
                      AutomationException
Minimum X value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getXMin in interface IRect
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXMin

public void setXMin(double pVal)
             throws IOException,
                    AutomationException
Minimum X value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setXMin in interface IRect
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYMax

public double getYMax()
               throws IOException,
                      AutomationException
Maximum Y value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getYMax in interface IRect
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYMax

public void setYMax(double pVal)
             throws IOException,
                    AutomationException
Maximum Y value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setYMax in interface IRect
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYMin

public double getYMin()
               throws IOException,
                      AutomationException
Minimum Y value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getYMin in interface IRect
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYMin

public void setYMin(double pVal)
             throws IOException,
                    AutomationException
Minimum Y value of the rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setYMin in interface IRect
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

set2Env

public void set2Env(IEnvelope env)
             throws IOException,
                    AutomationException
Reset from ESRI's Envelope Object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
set2Env in interface IRect
Parameters:
env - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convert2Env

public void convert2Env(IEnvelope env)
                 throws IOException,
                        AutomationException
Set ESRI's Envelope Object from a rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
convert2Env in interface IRect
Parameters:
env - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.