|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geometry.ProjectiveTransformation2D
public class ProjectiveTransformation2D
A two dimensional projective transformation.
The projective transformation requires a minimum of four points to define the transformation. The projective transformation is only used to transform coordinates digitized directly off high altitude aerial photography or aerial photographs of relatively flat terrain assuming that there is no systematic distortion in the air photos. The projective transformation uses eight parameters.
ProjectiveTransformation2D is defined by the matrix operations necessary for
X = (ax + by + c) / (gx + hy + 1)
Y = (dx + ey + f )/ (gx + hy + 1)
| Constructor Summary | |
|---|---|
ProjectiveTransformation2D()
Constructs a ProjectiveTransformation2D using ArcGIS Engine. |
|
ProjectiveTransformation2D(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ProjectiveTransformation2D theProjectiveTransformation2D = (ProjectiveTransformation2D) obj; |
|
| Method Summary | |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
defineFromControlPoints(int numPoints,
IPoint fromPoints,
IPoint toPoints)
Defines the best projective transformation between two sets of points. |
void |
defineFromControlPoints(IPoint[] fromPoints,
IPoint[] toPoints)
Defines the best projective transformation between two sets of points. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
static String |
getClsid()
getClsid. |
void |
getControlPointError(int i,
double[] fromError,
double[] toError)
Returns the errors involved in moving control point i from the 'from' to 'to' system. |
void |
getRMSError(double[] fromError,
double[] toError)
RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation. |
ISpatialReference |
getSpatialReference()
The spatial reference in which this transformation is meaningful. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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 |
project(ISpatialReference newSpatialReference)
Moves this transformation into another spatial reference. |
void |
queryTransformationParameters(int direction,
double[] params)
Returns the eight parameters which define the two dimensional projective transformation. |
void |
queryTransformationParameters(int direction,
double[][] params)
Returns the eight parameters which define the two dimensional projective transformation. |
void |
reset()
Resets the tranformation. |
void |
setSpatialReferenceByRef(ISpatialReference sR)
The spatial reference in which this transformation is meaningful. |
void |
setTransformationParameters(int direction,
double[] params)
Sets the eight parameters which define the two dimensional projective 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). |
| 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 ProjectiveTransformation2D()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ProjectiveTransformation2D(Object obj)
throws IOException
ProjectiveTransformation2D theProjectiveTransformation2D = (ProjectiveTransformation2D) obj;
obj to ProjectiveTransformation2D.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void transformMeasuresFF(int direction,
double[] inMeasures,
double[][] outMeasures)
throws IOException,
AutomationException
transformMeasuresFF in interface IProjectiveTransformation2DGENtransformMeasuresFF in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformMeasuresFI in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformMeasuresIF in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformMeasuresII in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformPointsFF in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformPointsFI in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformPointsIF in interface ITransformationGENdirection - 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 IProjectiveTransformation2DGENtransformPointsII in interface ITransformationGENdirection - 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 setSpatialReferenceByRef(ISpatialReference sR)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IProjectiveTransformation2DsetSpatialReferenceByRef in interface IProjectiveTransformation2DGENsR - 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 ISpatialReference getSpatialReference()
throws IOException,
AutomationException
getSpatialReference in interface IProjectiveTransformation2DgetSpatialReference in interface IProjectiveTransformation2DGENIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IProjectiveTransformation2Dreset in interface IProjectiveTransformation2DGENIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void defineFromControlPoints(IPoint[] fromPoints,
IPoint[] toPoints)
throws IOException,
AutomationException
defineFromControlPoints in interface IProjectiveTransformation2DGENfromPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)toPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getRMSError(double[] fromError,
double[] toError)
throws IOException,
AutomationException
getRMSError in interface IProjectiveTransformation2DgetRMSError in interface IProjectiveTransformation2DGENfromError - The fromError (in/out: use single element array)toError - The toError (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getControlPointError(int i,
double[] fromError,
double[] toError)
throws IOException,
AutomationException
getControlPointError in interface IProjectiveTransformation2DgetControlPointError in interface IProjectiveTransformation2DGENi - The i (in)fromError - The fromError (in/out: use single element array)toError - The toError (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void project(ISpatialReference newSpatialReference)
throws IOException,
AutomationException
project in interface IProjectiveTransformation2Dproject in interface IProjectiveTransformation2DGENnewSpatialReference - 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 queryTransformationParameters(int direction,
double[][] params)
throws IOException,
AutomationException
queryTransformationParameters in interface IProjectiveTransformation2DGENdirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)params - The params (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransformationParameters(int direction,
double[] params)
throws IOException,
AutomationException
setTransformationParameters in interface IProjectiveTransformation2DsetTransformationParameters in interface IProjectiveTransformation2DGENdirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)params - The params (in)
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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 ITransformationdirection - 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 defineFromControlPoints(int numPoints,
IPoint fromPoints,
IPoint toPoints)
throws IOException,
AutomationException
defineFromControlPoints in interface IProjectiveTransformation2DnumPoints - The numPoints (in)fromPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)toPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryTransformationParameters(int direction,
double[] params)
throws IOException,
AutomationException
queryTransformationParameters in interface IProjectiveTransformation2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)params - The params (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 ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - 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 ICloneother - 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 ICloneother - 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 interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 | ||||||||