|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.Geographic2DOffsetTransformation
public class Geographic2DOffsetTransformation
Creates a geographic 2D offset transformation.
The Geographic2DOffsetTransformation method converts between two geographic coordinates systems. It takes two parameter values in arc-seconds. The parameters are a shift in latitude and a shift, or offset, in longitude.
Constructor Summary | |
---|---|
Geographic2DOffsetTransformation()
Constructs a Geographic2DOffsetTransformation using ArcGIS Engine. |
|
Geographic2DOffsetTransformation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Geographic2DOffsetTransformation theGeographic2DOffsetTransformation = (Geographic2DOffsetTransformation) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
define(String authorityName,
int authorityCode,
String authorityVersion)
Defines the authority-related metadata properties for this spatial reference object. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
String |
getAuthorityName()
The name of the defining authority for this object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCode()
The code identifying this object relative to its authority. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
String |
getName()
The name of the geographic transformation. |
void |
getParameters(double[] dlon,
double[] dlat)
Returns latitude and longitude translation values for the transformation. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
void |
getSpatialReferences(ISpatialReference[] from,
ISpatialReference[] to)
Returns the from and to spatial references for the transformation. |
String |
getVersion()
The version of this spatial reference object. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
void |
load(IStream pstm)
load |
void |
putParameters(double dlon,
double dlat)
Sets latitude and longitude translation values for the transformation. |
void |
putSpatialReferences(ISpatialReference from,
ISpatialReference to)
Sets the from and to spatial references for the transformation. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setName(String name)
The name of the geographic transformation. |
void |
transformMeasuresFF(int direction,
double[] inMeasures,
double[][] outMeasures)
Transforms floating point measures to floating point measures (or do the inverse). |
void |
transformMeasuresFF(int direction,
int cMeasures,
double[] inMeasures,
double[] outMeasures)
Transforms floating point measures to floating point measures (or do the inverse). |
void |
transformMeasuresFI(int direction,
double[] inMeasures,
int[][] outMeasures)
Transforms floating point measures to integer measures (or do the inverse). |
void |
transformMeasuresFI(int direction,
int cMeasures,
double[] inMeasures,
int[] outMeasures)
Transforms floating point measures to integer measures (or do the inverse). |
void |
transformMeasuresIF(int direction,
int[] inMeasures,
double[][] outMeasures)
Transforms integer measures to floating point measures (or do the inverse). |
void |
transformMeasuresIF(int direction,
int cMeasures,
int[] inMeasures,
double[] outMeasures)
Transforms integer measures to floating point measures (or do the inverse). |
void |
transformMeasuresII(int direction,
int[] inMeasures,
int[][] outMeasures)
Transforms integer measures to integer measures (or do the inverse). |
void |
transformMeasuresII(int direction,
int cMeasures,
int[] inMeasures,
int[] outMeasures)
Transforms integer measures to integer measures (or do the inverse). |
void |
transformPointsFF(int direction,
double[] inPoints,
double[][] outPoints)
Transforms floating point points to floating point points (or do the inverse). |
void |
transformPointsFF(int direction,
int cPoints,
double[] inPoints,
double[] outPoints)
Transforms floating point points to floating point points (or do the inverse). |
void |
transformPointsFI(int direction,
double[] inPoints,
int[][] outPoints)
Transforms floating point points to integer points (or do the inverse). |
void |
transformPointsFI(int direction,
int cPoints,
double[] inPoints,
int[] outPoints)
Transforms floating point points to integer points (or do the inverse). |
void |
transformPointsIF(int direction,
int[] inPoints,
double[][] outPoints)
Transforms integer points to floating point points (or do the inverse). |
void |
transformPointsIF(int direction,
int cPoints,
int[] inPoints,
double[] outPoints)
Transforms integer points to floating point points (or do the inverse). |
void |
transformPointsII(int direction,
int[] inPoints,
int[][] outPoints)
Transforms integer points to integer points (or do the inverse). |
void |
transformPointsII(int direction,
int cPoints,
int[] inPoints,
int[] outPoints)
Transforms integer points to integer points (or do the inverse). |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Geographic2DOffsetTransformation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Geographic2DOffsetTransformation(Object obj) throws IOException
Geographic2DOffsetTransformation theGeographic2DOffsetTransformation = (Geographic2DOffsetTransformation) obj;
obj
to Geographic2DOffsetTransformation
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void transformMeasuresFF(int direction, double[] inMeasures, double[][] outMeasures) throws IOException, AutomationException
transformMeasuresFF
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFI(int direction, double[] inMeasures, int[][] outMeasures) throws IOException, AutomationException
transformMeasuresFI
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresIF(int direction, int[] inMeasures, double[][] outMeasures) throws IOException, AutomationException
transformMeasuresIF
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresII(int direction, int[] inMeasures, int[][] outMeasures) throws IOException, AutomationException
transformMeasuresII
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsFF(int direction, double[] inPoints, double[][] outPoints) throws IOException, AutomationException
transformPointsFF
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsFI(int direction, double[] inPoints, int[][] outPoints) throws IOException, AutomationException
transformPointsFI
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsIF(int direction, int[] inPoints, double[][] outPoints) throws IOException, AutomationException
transformPointsIF
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsII(int direction, int[] inPoints, int[][] outPoints) throws IOException, AutomationException
transformPointsII
in interface ITransformationGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFF(int direction, int cMeasures, double[] inMeasures, double[] outMeasures) throws IOException, AutomationException
transformMeasuresFF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFI(int direction, int cMeasures, double[] inMeasures, int[] outMeasures) throws IOException, AutomationException
transformMeasuresFI
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresIF(int direction, int cMeasures, int[] inMeasures, double[] outMeasures) throws IOException, AutomationException
transformMeasuresIF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresII(int direction, int cMeasures, int[] inMeasures, int[] outMeasures) throws IOException, AutomationException
transformMeasuresII
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsFF(int direction, int cPoints, double[] inPoints, double[] outPoints) throws IOException, AutomationException
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
transformPointsFF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsFI(int direction, int cPoints, double[] inPoints, int[] outPoints) throws IOException, AutomationException
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
transformPointsFI
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsIF(int direction, int cPoints, int[] inPoints, double[] outPoints) throws IOException, AutomationException
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
transformPointsIF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void transformPointsII(int direction, int cPoints, int[] inPoints, int[] outPoints) throws IOException, AutomationException
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
transformPointsII
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IGeoTransformation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IGeoTransformation
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSpatialReferences(ISpatialReference[] from, ISpatialReference[] to) throws IOException, AutomationException
Each geographic transformation is defined by 'from' and 'to' geographic coordinate systems.
getSpatialReferences
in interface IGeoTransformation
from
- A reference to a com.esri.arcgis.geometry.ISpatialReference (out: use single element array)to
- A reference to a com.esri.arcgis.geometry.ISpatialReference (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putSpatialReferences(ISpatialReference from, ISpatialReference to) throws IOException, AutomationException
putSpatialReferences
in interface IGeoTransformation
from
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)to
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putParameters(double dlon, double dlat) throws IOException, AutomationException
putParameters
in interface IGeographic2DOffsetTransformation
dlon
- The dlon (in)dlat
- The dlat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getParameters(double[] dlon, double[] dlat) throws IOException, AutomationException
getParameters
in interface IGeographic2DOffsetTransformation
dlon
- The dlon (out: use single element array)dlat
- The dlat (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAuthorityName() throws IOException, AutomationException
getAuthorityName
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getVersion() throws IOException, AutomationException
getVersion
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCode() throws IOException, AutomationException
getCode
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void define(String authorityName, int authorityCode, String authorityVersion) throws IOException, AutomationException
define
in interface ISpatialReferenceAuthority
authorityName
- The authorityName (in)authorityCode
- The authorityCode (in)authorityVersion
- The authorityVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |