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, java.io.Serializable

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

COM Class 'GeoTransformationOperationSet'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description 'Stores a set of geographic transformation operators (GT + direction).' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geometry.IGeoTransformationOperationSet
IID, IID0049530e_e3ec_11d3_9f62_00c04f6bdd7f, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
GeoTransformationOperationSet()
          Constructs a GeoTransformationOperationSet using ArcGIS Engine.
GeoTransformationOperationSet(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoTransformationOperationSet theGeoTransformationOperationSet = (GeoTransformationOperationSet) obj;
 
Method Summary
 boolean equals(java.lang.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 java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of geographic transformations in the set.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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 release()
          Release a GeoTransformationOperationSet.
 void remove(int direction, IGeoTransformation transformation)
          Deletes a particular geographic transformation.
 void removeAll()
          Deletes all transformations in the set.
 void removeByKey(IGeographicCoordinateSystem pFromGCS, IGeographicCoordinateSystem pToGCS)
          Deletes a particular geographic transformation by its from and to GCS.
 void reset()
          Reinitializes the transformation set iterator.
 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
 

Constructor Detail

GeoTransformationOperationSet

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeoTransformationOperationSet

public GeoTransformationOperationSet(java.lang.Object obj)
                              throws java.io.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:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeoTransformationOperationSet.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

set

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

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:
java.io.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 java.io.IOException,
                AutomationException
Returns a default geographic transformation.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeByKey

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Reinitializes the transformation set iterator.

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

removeAll

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

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

getCount

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

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

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