com.esri.arcgis.geoprocessing
Class GpPointObject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GpPointObject
All Implemented Interfaces:
IGpPointObject, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GpPointObject
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGpPointObject

Geoprocessing Point object.

Product Availability

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

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
GpPointObject()
          Constructs a GpPointObject using ArcGIS Engine.
GpPointObject(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpPointObject theGpPointObject = (GpPointObject) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void esri_clone(IGpPointObject pSrcObj)
          Clones the point object.
static String getClsid()
          getClsid.
 int getID()
          The ID coordinate.
 double getM()
          The M coordinate.
 double getX()
          The X coordinate.
 double getY()
          The Y coordinate.
 double getZ()
          The Z coordinate.
 int hashCode()
          the hashcode for this object
 void setID(int iD)
          The ID coordinate.
 void setM(double m)
          The M coordinate.
 void setPoint(IPoint pPoint)
          Set point attributes to that of the given point geometry object.
 void setX(double x)
          The X coordinate.
 void setY(double y)
          The Y coordinate.
 void setZ(double z)
          The Z coordinate.
 
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

GpPointObject

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

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

GpPointObject

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

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

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

getX

public double getX()
            throws IOException,
                   AutomationException
The X coordinate.

Product Availability

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

Supported Platforms

Windows

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

setX

public void setX(double x)
          throws IOException,
                 AutomationException
The X coordinate.

Product Availability

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

Supported Platforms

Windows

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

getY

public double getY()
            throws IOException,
                   AutomationException
The Y coordinate.

Product Availability

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

Supported Platforms

Windows

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

setY

public void setY(double y)
          throws IOException,
                 AutomationException
The Y coordinate.

Product Availability

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

Supported Platforms

Windows

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

getM

public double getM()
            throws IOException,
                   AutomationException
The M coordinate.

Product Availability

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

Supported Platforms

Windows

Specified by:
getM in interface IGpPointObject
Returns:
The m
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setM

public void setM(double m)
          throws IOException,
                 AutomationException
The M coordinate.

Product Availability

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

Supported Platforms

Windows

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

getZ

public double getZ()
            throws IOException,
                   AutomationException
The Z coordinate.

Product Availability

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

Supported Platforms

Windows

Specified by:
getZ in interface IGpPointObject
Returns:
The z
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZ

public void setZ(double z)
          throws IOException,
                 AutomationException
The Z coordinate.

Product Availability

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

Supported Platforms

Windows

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

getID

public int getID()
          throws IOException,
                 AutomationException
The ID coordinate.

Product Availability

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

Supported Platforms

Windows

Specified by:
getID in interface IGpPointObject
Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setID

public void setID(int iD)
           throws IOException,
                  AutomationException
The ID coordinate.

Product Availability

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

Supported Platforms

Windows

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

setPoint

public void setPoint(IPoint pPoint)
              throws IOException,
                     AutomationException
Set point attributes to that of the given point geometry object.

Product Availability

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

Supported Platforms

Windows

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

esri_clone

public void esri_clone(IGpPointObject pSrcObj)
                throws IOException,
                       AutomationException
Clones the point object.

Product Availability

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

Specified by:
esri_clone in interface IGpPointObject
Parameters:
pSrcObj - A reference to a com.esri.arcgis.geoprocessing.IGpPointObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.