com.esri.arcgis.geometry
Interface ICompositeGeoTransformation

All Superinterfaces:
IGeoTransformation, ITransformation, Serializable
All Known Implementing Classes:
CompositeGeoTransformation

public interface ICompositeGeoTransformation
extends IGeoTransformation, Serializable

Provides access to members that control a set of geographic transformations.

Description

Sometimes it is necessary to transform between two geographic coordinate systems where a direct transformation does not exist. A composite geotransformation allows you to create a 'chain' of existing or custom transformations. Each transformation in the set must have its direction set properly.

Remarks

Of the ITransformation interface, only the TransformPointsFF method is implemented.

Product Availability

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


Method Summary
 void add(int direction, IGeoTransformation pXForm)
          Adds a geographic transformation to the list.
 int getCount()
          The number of geographic transformations in the list.
 IGeoTransformation getGeoTransformation(int i)
          A geographic transformation from the list.
 int getTransformationDirection(int i)
          The direction (forward/reverse) of a geographic transformation.
 void setEmpty()
          Clears the list of geographic transformations from the object.
 
Methods inherited from interface com.esri.arcgis.geometry.IGeoTransformation
getName, getSpatialReferences, putSpatialReferences, setName
 
Methods inherited from interface com.esri.arcgis.geometry.ITransformation
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
 

Method Detail

add

void add(int direction,
         IGeoTransformation pXForm)
         throws IOException,
                AutomationException
Adds a geographic transformation to the list.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
pXForm - 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.

getGeoTransformation

IGeoTransformation getGeoTransformation(int i)
                                        throws IOException,
                                               AutomationException
A geographic transformation from the list.

Product Availability

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

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

getTransformationDirection

int getTransformationDirection(int i)
                               throws IOException,
                                      AutomationException
The direction (forward/reverse) of a geographic transformation.

Product Availability

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

Parameters:
i - The i (in)
Returns:
A com.esri.arcgis.geometry.esriTransformDirection constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setEmpty

void setEmpty()
              throws IOException,
                     AutomationException
Clears the list of geographic transformations from the object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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