public class DblPnt extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPnt
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 =
IID, IID55614793_3490_11d3_a627_0008c7d3af56, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getX()
X coordinate of the point.
|
double |
getY()
Y coordinate of the point.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
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.
|
public DblPnt() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic DblPnt(java.lang.Object obj) throws java.io.IOException
DblPnt theDblPnt = (DblPnt) obj;
obj
to DblPnt
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public double getX() throws java.io.IOException, AutomationException
getX
in interface IPnt
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setX(double val) throws java.io.IOException, AutomationException
setX
in interface IPnt
val
- The val (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getY() throws java.io.IOException, AutomationException
getY
in interface IPnt
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setY(double val) throws java.io.IOException, AutomationException
setY
in interface IPnt
val
- The val (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCoords(double x, double y) throws java.io.IOException, AutomationException
setCoords
in interface IPnt
x
- The x (in)y
- The y (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void set2Point(IPoint env) throws java.io.IOException, AutomationException
set2Point
in interface IPnt
env
- A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void convert2Point(IPoint env) throws java.io.IOException, AutomationException
convert2Point
in interface IPnt
env
- A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.