com.esri.arcgis.geoprocessing
Interface IGPXYDomain

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPSpatialReference, GPXYDomain

public interface IGPXYDomain
extends Serializable

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

Product Availability

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


Method Summary
 void getDomain(double[] xMin, double[] xMax, double[] yMin, double[] yMax)
          Get the xy domain extent.
 IEnvelope getExtent()
          Get the extent of the xy domain.
 void getFalseOriginAndUnits(double[] falseX, double[] falseY, double[] xyUnits)
          Get the false origin and units.
 ISpatialReference getSpatialReference()
          Get the spatial reference of the xy domain.
 void setDomain(double xMin, double xMax, double yMin, double yMax)
          Set the xy domain extent.
 void setDomainFromExtent(IEnvelope pExtent)
          Set the xy domain from an extent.
 void setDomainFromSpatialReference(ISpatialReference pSpRef)
          Set the xy domain from a spatial reference.
 void setFalseOriginAndUnits(double falseX, double falseY, double xyUnits)
          Set the false origin and units.
 

Method Detail

setDomain

void setDomain(double xMin,
               double xMax,
               double yMin,
               double yMax)
               throws IOException,
                      AutomationException
Set the xy domain extent.

Product Availability

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

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

getDomain

void getDomain(double[] xMin,
               double[] xMax,
               double[] yMin,
               double[] yMax)
               throws IOException,
                      AutomationException
Get the xy domain extent.

Product Availability

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

Parameters:
xMin - The xMin (out: use single element array)
xMax - The xMax (out: use single element array)
yMin - The yMin (out: use single element array)
yMax - The yMax (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFalseOriginAndUnits

void setFalseOriginAndUnits(double falseX,
                            double falseY,
                            double xyUnits)
                            throws IOException,
                                   AutomationException
Set the false origin and units.

Product Availability

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

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

getFalseOriginAndUnits

void getFalseOriginAndUnits(double[] falseX,
                            double[] falseY,
                            double[] xyUnits)
                            throws IOException,
                                   AutomationException
Get the false origin and units.

Product Availability

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

Parameters:
falseX - The falseX (out: use single element array)
falseY - The falseY (out: use single element array)
xyUnits - The xyUnits (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainFromSpatialReference

void setDomainFromSpatialReference(ISpatialReference pSpRef)
                                   throws IOException,
                                          AutomationException
Set the xy domain from a spatial reference.

Product Availability

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

Parameters:
pSpRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainFromExtent

void setDomainFromExtent(IEnvelope pExtent)
                         throws IOException,
                                AutomationException
Set the xy domain from an extent.

Product Availability

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

Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

IEnvelope getExtent()
                    throws IOException,
                           AutomationException
Get the extent of the xy domain.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
Get the spatial reference of the xy domain.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.