public class CoordinateXform extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ICoordinateXform, ICoordinateXform2, ICoordinateXform3, IRasterXform, IGeodataXformApproximation, IClone, IPersistStream, IDocumentVersionSupportGEN, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable
Description 'A coordinate transform class.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID3e286063_be01_48c2_baf7_bf22e0cdc1ac, xxDummy
IID71abcacf_b2ac_4074_a99b_f6ae0264f293
IID64f70678_9cc7_48db_acd1_faa7e9e8e5c7
IID5e6cf525_4e74_419b_946f_7da9bfdf815d
IID, IID45b14f29_01b8_489a_9f55_cd21ea84fd7f, xxDummy
IID, IIDf533cf88_29bd_4d4b_88d0_050622a46c3a, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
Constructor and Description |
---|
CoordinateXform()
Constructs a CoordinateXform using ArcGIS Engine.
|
CoordinateXform(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
CoordinateXform theCoordinateXform = (CoordinateXform) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
IDoubleArray |
getApproxiPixelValuePoly()
.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IGeometryCollection |
getDomains()
The domains in output space.
|
IEnvelope |
getFullExtent()
The full output extent within which this xform is applied.
|
IGeoTransformationOperationSet |
getGeoTransformations()
The geographic transformations.
|
int |
getGridSize()
The approximation grid size in pixels in output space.
|
ISpatialReference |
getInputSpatialReference()
The source spatial reference.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
IEnvelope |
getNoNodataExtent()
.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
ISpatialReference |
getSpatialReference()
The output spatial reference after applying this transform.
|
double |
getTolerance()
The approximation error tolerance in distance in input space.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isApproximation()
Indicates if approximation is on or off.
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isIdentity()
Indicates if this geodata transform is an identity transform.
|
boolean |
isNeedVCSTransformation()
.
|
boolean |
isRecalculateTolerance()
Indicates if the tolerance can be recalculated based on input cellsize.
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
void |
prepare(int iDomain,
double dx,
double dy,
IEnvelope pExtent)
Prepares the xform for a given extent and cellsize within a domain.
|
void |
projectPixelBlock3D(_WKSPoint pBlockPoints,
int npoints,
ISpatialReference pSrcSR,
ISpatialReference pDstSR,
IPixelBlock[] pPixelBlock)
.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setApproximation(boolean pApproximation)
Indicates if approximation is on or off.
|
void |
setApproxiPixelValuePoly(IDoubleArray ppPoly)
.
|
void |
setFullExtent(IEnvelope ppFullExtent)
The full output extent within which this xform is applied.
|
void |
setGeoTransformationsByRef(IGeoTransformationOperationSet ppGeoXforms)
The geographic transformations.
|
void |
setGridSize(int pSize)
The approximation grid size in pixels in output space.
|
void |
setInputSpatialReferenceByRef(ISpatialReference ppSpatialRefence)
The source spatial reference.
|
void |
setNeedVCSTransformation(boolean pNeedVCSTran)
.
|
void |
setNoNodataExtent(IEnvelope ppExtent)
.
|
void |
setRecalculateTolerance(boolean pRecalculateTolerance)
Indicates if the tolerance can be recalculated based on input cellsize.
|
void |
setSpatialReferenceByRef(ISpatialReference spatialRefence)
The output spatial reference after applying this transform.
|
void |
setTolerance(double pTolerance)
The approximation error tolerance in distance in input space.
|
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 areaOfInterest)
Transforms a cellsize in a given direction.
|
void |
transformExtent(int direction,
IEnvelope[] extent)
Transforms an extent in a given direction.
|
void |
transformPoints(int direction,
IPointCollection[] points)
Transforms a point collection in a given direction
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public CoordinateXform() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic CoordinateXform(java.lang.Object obj) throws java.io.IOException
CoordinateXform theCoordinateXform = (CoordinateXform) obj;
obj
to CoordinateXform
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setGeoTransformationsByRef(IGeoTransformationOperationSet ppGeoXforms) throws java.io.IOException, AutomationException
setGeoTransformationsByRef
in interface ICoordinateXform
ppGeoXforms
- A reference to a com.esri.arcgis.geometry.IGeoTransformationOperationSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeoTransformationOperationSet getGeoTransformations() throws java.io.IOException, AutomationException
getGeoTransformations
in interface ICoordinateXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spatialRefence) throws java.io.IOException, AutomationException
setSpatialReferenceByRef
in interface IGeodataXform
spatialRefence
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryCollection getDomains() throws java.io.IOException, AutomationException
getDomains
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentity() throws java.io.IOException, AutomationException
isIdentity
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transform(int direction, int npoints, _WKSPoint[] points) throws java.io.IOException, AutomationException
transform
in interface IGeodataXform
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformCellsize(int direction, double[] dx, double[] dy, IEnvelope areaOfInterest) throws java.io.IOException, AutomationException
transformCellsize
in interface IGeodataXform
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)areaOfInterest
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformExtent(int direction, IEnvelope[] extent) throws java.io.IOException, AutomationException
transformExtent
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPoints(int direction, IPointCollection[] points) throws java.io.IOException, AutomationException
transformPoints
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)points
- A reference to a com.esri.arcgis.geometry.IPointCollection (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setInputSpatialReferenceByRef(ISpatialReference ppSpatialRefence) throws java.io.IOException, AutomationException
setInputSpatialReferenceByRef
in interface ICoordinateXform2
ppSpatialRefence
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getInputSpatialReference() throws java.io.IOException, AutomationException
getInputSpatialReference
in interface ICoordinateXform2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNeedVCSTransformation(boolean pNeedVCSTran) throws java.io.IOException, AutomationException
setNeedVCSTransformation
in interface ICoordinateXform3
pNeedVCSTran
- The pNeedVCSTran (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNeedVCSTransformation() throws java.io.IOException, AutomationException
isNeedVCSTransformation
in interface ICoordinateXform3
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setApproxiPixelValuePoly(IDoubleArray ppPoly) throws java.io.IOException, AutomationException
setApproxiPixelValuePoly
in interface ICoordinateXform3
ppPoly
- A reference to a com.esri.arcgis.system.IDoubleArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDoubleArray getApproxiPixelValuePoly() throws java.io.IOException, AutomationException
getApproxiPixelValuePoly
in interface ICoordinateXform3
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNoNodataExtent(IEnvelope ppExtent) throws java.io.IOException, AutomationException
setNoNodataExtent
in interface ICoordinateXform3
ppExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnvelope getNoNodataExtent() throws java.io.IOException, AutomationException
getNoNodataExtent
in interface ICoordinateXform3
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void projectPixelBlock3D(_WKSPoint pBlockPoints, int npoints, ISpatialReference pSrcSR, ISpatialReference pDstSR, IPixelBlock[] pPixelBlock) throws java.io.IOException, AutomationException
projectPixelBlock3D
in interface ICoordinateXform3
pBlockPoints
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)npoints
- The npoints (in)pSrcSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pDstSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pPixelBlock
- A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnvelope getFullExtent() throws java.io.IOException, AutomationException
getFullExtent
in interface IRasterXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFullExtent(IEnvelope ppFullExtent) throws java.io.IOException, AutomationException
setFullExtent
in interface IRasterXform
ppFullExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void prepare(int iDomain, double dx, double dy, IEnvelope pExtent) throws java.io.IOException, AutomationException
prepare
in interface IRasterXform
iDomain
- The iDomain (in)dx
- The dx (in)dy
- The dy (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTolerance(double pTolerance) throws java.io.IOException, AutomationException
setTolerance
in interface IGeodataXformApproximation
pTolerance
- The pTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getTolerance() throws java.io.IOException, AutomationException
getTolerance
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGridSize(int pSize) throws java.io.IOException, AutomationException
setGridSize
in interface IGeodataXformApproximation
pSize
- The pSize (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getGridSize() throws java.io.IOException, AutomationException
getGridSize
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRecalculateTolerance(boolean pRecalculateTolerance) throws java.io.IOException, AutomationException
setRecalculateTolerance
in interface IGeodataXformApproximation
pRecalculateTolerance
- The pRecalculateTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRecalculateTolerance() throws java.io.IOException, AutomationException
isRecalculateTolerance
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isApproximation() throws java.io.IOException, AutomationException
isApproximation
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setApproximation(boolean pApproximation) throws java.io.IOException, AutomationException
setApproximation
in interface IGeodataXformApproximation
pApproximation
- The pApproximation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException