|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeoTransformationOperationSet
Provides access to members that control a set of geographic transformation operators (GT + direction).
Use the GeotransformationOperationSet to project geometries having different geographic coordinate systems using the IGeometry::Project method. Use the IGeotransformationOperationSet methods to cache a set of Geotransformations in memory. This set is used by the software when projecting a geometry using the IGeometry::Project . If the geographic coordinate systems of the from/to spatial reference are different then the system looks in the GeoTranformationOperationSet to find a matching geotransformation. If no appropriate geotransformation is found, no geotransformation is applied.
Useful when working with datasets that have multiple spatial references. Used in ArcCatalog to store any necessary transformations.
IMapGeographicTransformations
Method Summary | |
---|---|
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. |
int |
getCount()
The number of geographic transformations in the set. |
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. |
Method Detail |
---|
void set(int direction, IGeoTransformation transformation) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation
- A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void get(IGeographicCoordinateSystem pFromGCS, IGeographicCoordinateSystem pToGCS, int[] direction, IGeoTransformation[] transformation) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean find(int direction, IGeoTransformation gT) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)gT
- A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int direction, IGeoTransformation transformation) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation
- A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeByKey(IGeographicCoordinateSystem pFromGCS, IGeographicCoordinateSystem pToGCS) throws IOException, AutomationException
pFromGCS
- A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)pToGCS
- A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void next(int[] direction, IGeoTransformation[] gT) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |