com.esri.arcgis.datasourcesraster
Class DblPnt

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.DblPnt
All Implemented Interfaces:
IPnt, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DblPnt
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPnt

COM Class 'DblPnt'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A simple point class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IPnt
IID, IID55614793_3490_11d3_a627_0008c7d3af56, xxDummy
 
Constructor Summary
DblPnt()
          Constructs a DblPnt using ArcGIS Engine.
DblPnt(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DblPnt theDblPnt = (DblPnt) obj;
 
Method Summary
 void convert2Point(IPoint env)
          Set Esri's Point Object from Pnt.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getX()
          X coordinate of the point.
 double getY()
          Y coordinate of the point.
 int hashCode()
          the hashcode for this object
 void release()
          Release a DblPnt.
 void set2Point(IPoint env)
          Reset from Esri's Point Object.
 void setCoords(double x, double y)
          Set X and Y coordinates of the point.
 void setX(double val)
          X coordinate of the point.
 void setY(double val)
          Y coordinate of the point.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DblPnt

public DblPnt()
       throws java.io.IOException,
              java.net.UnknownHostException
Constructs a DblPnt using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DblPnt

public DblPnt(java.lang.Object obj)
       throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DblPnt theDblPnt = (DblPnt) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DblPnt.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getX

public double getX()
            throws java.io.IOException,
                   AutomationException
X coordinate of the point.

Specified by:
getX in interface IPnt
Returns:
The val
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setX

public void setX(double val)
          throws java.io.IOException,
                 AutomationException
X coordinate of the point.

Specified by:
setX in interface IPnt
Parameters:
val - The val (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getY

public double getY()
            throws java.io.IOException,
                   AutomationException
Y coordinate of the point.

Specified by:
getY in interface IPnt
Returns:
The val
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setY

public void setY(double val)
          throws java.io.IOException,
                 AutomationException
Y coordinate of the point.

Specified by:
setY in interface IPnt
Parameters:
val - The val (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCoords

public void setCoords(double x,
                      double y)
               throws java.io.IOException,
                      AutomationException
Set X and Y coordinates of the point.

Specified by:
setCoords in interface IPnt
Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

set2Point

public void set2Point(IPoint env)
               throws java.io.IOException,
                      AutomationException
Reset from Esri's Point Object.

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

convert2Point

public void convert2Point(IPoint env)
                   throws java.io.IOException,
                          AutomationException
Set Esri's Point Object from Pnt.

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