com.esri.arcgis.geometry
Class GeoTransformationOperationSet

java.lang.Object
  extended by com.esri.arcgis.geometry.GeoTransformationOperationSet
All Implemented Interfaces:
IGeoTransformationOperationSet, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class GeoTransformationOperationSet
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeoTransformationOperationSet, ISupportErrorInfo

Stores a set of geographic transformation operators (GT + direction).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
GeoTransformationOperationSet()
          Constructs a GeoTransformationOperationSet using ArcGIS Engine.
GeoTransformationOperationSet(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoTransformationOperationSet theGeoTransformationOperationSet = (GeoTransformationOperationSet) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 boolean find(int direction, IGeoTransformation gT)
          Check a geographic transformation and a direction to see if it exists in the set.
 void get(IGeographicCoordinateSystem pFromGCS, IGeographicCoordinateSystem pToGCS, int[] direction, IGeoTransformation[] transformation)
          Returns a default geographic transformation.
static String getClsid()
          getClsid.
 int getCount()
          The number of geographic transformations in the set.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void next(int[] direction, IGeoTransformation[] gT)
          Retrieves the next geographic transformation in the set.
 void remove(int direction, IGeoTransformation transformation)
          Deletes a particular geographic transformation.
 void removeAll()
          Deletes all geographic transformations in the set.
 void removeByKey(IGeographicCoordinateSystem pFromGCS, IGeographicCoordinateSystem pToGCS)
          Deletes a particular geographic transformation by its from and to GeoCS.
 void reset()
          Reinitializes the geographic transformation set.
 void set(int direction, IGeoTransformation transformation)
          Sets a default geographic transformation.
 
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

GeoTransformationOperationSet

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

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

GeoTransformationOperationSet

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

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

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

set

public void set(int direction,
                IGeoTransformation transformation)
         throws IOException,
                AutomationException
Sets a default geographic transformation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
set in interface IGeoTransformationOperationSet
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
transformation - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

get

public void get(IGeographicCoordinateSystem pFromGCS,
                IGeographicCoordinateSystem pToGCS,
                int[] direction,
                IGeoTransformation[] transformation)
         throws IOException,
                AutomationException
Returns a default geographic transformation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
get in interface IGeoTransformationOperationSet
Parameters:
pFromGCS - A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
pToGCS - A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (out: use single element array)
transformation - A reference to a com.esri.arcgis.geometry.IGeoTransformation (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public boolean find(int direction,
                    IGeoTransformation gT)
             throws IOException,
                    AutomationException
Check a geographic transformation and a direction to see if it exists in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
find in interface IGeoTransformationOperationSet
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
gT - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
Returns:
The found
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int direction,
                   IGeoTransformation transformation)
            throws IOException,
                   AutomationException
Deletes a particular geographic transformation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
remove in interface IGeoTransformationOperationSet
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
transformation - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeByKey

public void removeByKey(IGeographicCoordinateSystem pFromGCS,
                        IGeographicCoordinateSystem pToGCS)
                 throws IOException,
                        AutomationException
Deletes a particular geographic transformation by its from and to GeoCS.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeByKey in interface IGeoTransformationOperationSet
Parameters:
pFromGCS - A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
pToGCS - A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public void next(int[] direction,
                 IGeoTransformation[] gT)
          throws IOException,
                 AutomationException
Retrieves the next geographic transformation in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IGeoTransformationOperationSet
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (out: use single element array)
gT - A reference to a com.esri.arcgis.geometry.IGeoTransformation (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Reinitializes the geographic transformation set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IGeoTransformationOperationSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Deletes all geographic transformations in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeAll in interface IGeoTransformationOperationSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of geographic transformations in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IGeoTransformationOperationSet
Returns:
The gtCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.