|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.PositionVectorTransformation
public class PositionVectorTransformation
Creates a Position Vector transformation.
A PositionVectorTransformation is a seven parameter geographic (datum) transformation. The seven parameters are three translations in meters, three rotations in arc seconds, and a scale factor in parts per million. The parameters refer to XYZ space. The conversion of features to and from XYZ space is done automatically as part as the method. If the input and output spheroids (ellipsoids) are different, that is also handled automatically. The CoordinateFrameTransformation is similar but uses a different convention when handling the rotation values. To convert between a position vector and coordinate frame methods, change the signs of the rotation values.
The coordinate frame transformation is the same method but with rotations defined in the opposite direction. Make sure you know which method to use. If you change the signs of the rotation values, you can use the other method and get the same results.
Constructor Summary | |
---|---|
PositionVectorTransformation()
Constructs a PositionVectorTransformation using ArcGIS Engine. |
|
PositionVectorTransformation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PositionVectorTransformation thePositionVectorTransformation = (PositionVectorTransformation) 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[] dx,
double[] dy,
double[] dz,
double[] rx,
double[] ry,
double[] rz,
double[] s)
Returns translation, rotation and scale values of 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 dx,
double dy,
double dz,
double rx,
double ry,
double rz,
double s)
Sets translation, rotation and scale 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 PositionVectorTransformation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic PositionVectorTransformation(Object obj) throws IOException
PositionVectorTransformation thePositionVectorTransformation = (PositionVectorTransformation) obj;
obj
to PositionVectorTransformation
.
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 void putParameters(double dx, double dy, double dz, double rx, double ry, double rz, double s) throws IOException, AutomationException
putParameters
in interface IPositionVectorTransformation
dx
- The dx (in)dy
- The dy (in)dz
- The dz (in)rx
- The rx (in)ry
- The ry (in)rz
- The rz (in)s
- The s (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getParameters(double[] dx, double[] dy, double[] dz, double[] rx, double[] ry, double[] rz, double[] s) throws IOException, AutomationException
getParameters
in interface IPositionVectorTransformation
dx
- The dx (out: use single element array)dy
- The dy (out: use single element array)dz
- The dz (out: use single element array)rx
- The rx (out: use single element array)ry
- The ry (out: use single element array)rz
- The rz (out: use single element array)s
- The s (out: use single element array)
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 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 |