com.esri.arcgis.geoprocessing
Interface IGPPoint

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPPoint

public interface IGPPoint
extends Serializable

Provides access to the properties/methods of a geoprocessing point object.

Product Availability

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


Method Summary
 double getX()
          The X coordinate of the point.
 double getY()
          The Y coordinate of the point.
 void setCoords(double x, double y)
          Sets the x/y coordinates of the point.
 void setX(double x)
          The X coordinate of the point.
 void setY(double y)
          The Y coordinate of the point.
 

Method Detail

getX

double getX()
            throws IOException,
                   AutomationException
The X coordinate of the point.

Product Availability

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

Supported Platforms

Windows

Returns:
The x
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setX

void setX(double x)
          throws IOException,
                 AutomationException
The X coordinate of the point.

Product Availability

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

Supported Platforms

Windows

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

getY

double getY()
            throws IOException,
                   AutomationException
The Y coordinate of the point.

Product Availability

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

Supported Platforms

Windows

Returns:
The y
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setY

void setY(double y)
          throws IOException,
                 AutomationException
The Y coordinate of the point.

Product Availability

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

Supported Platforms

Windows

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

setCoords

void setCoords(double x,
               double y)
               throws IOException,
                      AutomationException
Sets the x/y coordinates of the point.

Product Availability

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

Supported Platforms

Windows

Parameters:
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.