|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.Pnt
public class Pnt
A 2D point for representing raster dimension and location in pixels.
The Pnt object is normally used to define the dimension of a PixelBlock (width and height) or the cell size (x and y).
Constructor Summary | |
---|---|
Pnt()
Constructs a Pnt using ArcGIS Engine. |
|
Pnt(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Pnt thePnt = (Pnt) obj; |
Method Summary | |
---|---|
void |
convert2Point(IPoint env)
Set Esri's Point Object from Pnt. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
double |
getX()
X coordinate of the point. |
double |
getY()
Y coordinate of the point. |
int |
hashCode()
the hashcode for this object |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Pnt() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Pnt(Object obj) throws IOException
Pnt thePnt = (Pnt) obj;
obj
to Pnt
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public double getX() throws IOException, AutomationException
getX
in interface IPnt
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setX(double val) throws IOException, AutomationException
setX
in interface IPnt
val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getY() throws IOException, AutomationException
getY
in interface IPnt
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setY(double val) throws IOException, AutomationException
setY
in interface IPnt
val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCoords(double x, double y) throws IOException, AutomationException
setCoords
in interface IPnt
x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void set2Point(IPoint env) throws IOException, AutomationException
set2Point
in interface IPnt
env
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void convert2Point(IPoint env) throws IOException, AutomationException
convert2Point
in interface IPnt
env
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |