com.esri.arcgis.geodatabase
Interface IPnt

All Superinterfaces:
Serializable
All Known Implementing Classes:
DblPnt, Pnt

public interface IPnt
extends Serializable

Provides access to members that control a portable point.

When To Use

The DblPnt object is used by raster objects, including the Raster, RasterBand, and PixelBlock, to specify coordinates or extent information.

Product Availability

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


Method Summary
 void convert2Point(IPoint env)
          Set ESRI's Point Object from Pnt.
 double getX()
          X coordinate of the point.
 double getY()
          Y coordinate of the point.
 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.
 

Method Detail

getX

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setX

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getY

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setY

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
val - The val (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
Set X and Y coordinates of the point.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

set2Point

void set2Point(IPoint env)
               throws IOException,
                      AutomationException
Reset from ESRI's Point Object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
env - 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.

convert2Point

void convert2Point(IPoint env)
                   throws IOException,
                          AutomationException
Set ESRI's Point Object from Pnt.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
env - 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.