public class Pnt extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPnt
Description 'A 2D point for representing raster dimension and location in pixels.' 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 |
|---|
Pnt()
Constructs a Pnt using ArcGIS Engine.
|
Pnt(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Pnt thePnt = (Pnt) 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 Pnt()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic Pnt(java.lang.Object obj)
throws java.io.IOException
Pnt thePnt = (Pnt) obj;obj to Pnt.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic double getX()
throws java.io.IOException,
AutomationException
getX in interface IPntjava.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 IPntval - 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 IPntjava.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 IPntval - 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 IPntx - 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 IPntenv - 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 IPntenv - 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.