|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeodataXform
Provides access to members that control geodata transformation.
IGeodataXform is a generic interface that is supported by all geodata transformation objects. It is one of the interfaces that must be implemented when you create a custom geodata transformation object. The others are IPersistStream, for persisting a geodata transformation into its dataset, and IClone.
The IGeodataXform provides access to members that control geodata transformation properties, and perform the actual geodata transformation operation. A geodata transformation has an output spatial reference that describes the coordinates after transformation.
It can also use domains that specify a list of regions (polygons) within which the transformation is continuous. For examples, a World Cube projection has nine domains and within each domain, the projection transformation is continuous. The domains can be a single polygon geometry or a collection of polygons.
A geodata transformation can be an identity transformation which does not change the coordinates. Any geodata transformation can become an identity. ArcGIS provides a special geodata transformation, IdentityXform, which is used to model a spatial reference as identity geodata transformation.
The IGeodataXform has methods for transforming a set of 2D points, an extent, and a (raster) cellsize.
Method Summary | |
---|---|
IGeometryCollection |
getDomains()
The domains in output space. |
ISpatialReference |
getSpatialReference()
The output spatial reference after applying this transform. |
boolean |
isIdentity()
Indicates if this geodata transform is an identity transform. |
void |
setSpatialReferenceByRef(ISpatialReference ppSpatialRefence)
The output spatial reference after applying this transform. |
void |
transform(int direction,
int npoints,
_WKSPoint[] points)
Transforms a set of points in a given direction. |
void |
transformCellsize(int direction,
double[] dx,
double[] dy,
IEnvelope pAreaOfInterest)
Transforms a cellsize in a given direction. |
void |
transformExtent(int direction,
IEnvelope[] pExtent)
Transforms an extent in a given direction. |
void |
transformPoints(int direction,
IPointCollection[] pPoints)
Transforms a point collection in a given direction |
Method Detail |
---|
ISpatialReference getSpatialReference() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialReferenceByRef(ISpatialReference ppSpatialRefence) throws IOException, AutomationException
ppSpatialRefence
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometryCollection getDomains() throws IOException, AutomationException
The returned domains should a single polygon geometry or a collection of polygons.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isIdentity() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void transform(int direction, int npoints, _WKSPoint[] points) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)npoints
- The npoints (in)points
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void transformCellsize(int direction, double[] dx, double[] dy, IEnvelope pAreaOfInterest) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)dx
- The dx (in/out: use single element array)dy
- The dy (in/out: use single element array)pAreaOfInterest
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void transformExtent(int direction, IEnvelope[] pExtent) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void transformPoints(int direction, IPointCollection[] pPoints) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)pPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in/out: use single element array)
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 |