public class ProjectiveTransformation2D extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITransformationGEN, IProjectiveTransformation2DGEN, ITransformation, IProjectiveTransformation2D, IClone, ISupportErrorInfo
Description 'A two dimensional projective transformation.' 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 =
IID, IID5f015fe6_38cf_451d_81cd_7e784b71add7, xxDummy
IID, IIDc7a467a9_0374_4f1a_9cbd_7156fe7dacb9, xxDummy
IID, IID1c8a72c4_5a43_48ef_938e_2119608d77d0, xxDummy
IID6f2cf924_7e00_11d0_82f4_0000f8034032
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
ProjectiveTransformation2D()
Constructs a ProjectiveTransformation2D using ArcGIS Engine.
|
ProjectiveTransformation2D(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ProjectiveTransformation2D theProjectiveTransformation2D = (ProjectiveTransformation2D) obj; |
Modifier and Type | Method and Description |
---|---|
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(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
static java.lang.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.
|
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.
|
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 |
release()
Release this COM object reference
|
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).
|
public ProjectiveTransformation2D() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ProjectiveTransformation2D(java.lang.Object obj) throws java.io.IOException
ProjectiveTransformation2D theProjectiveTransformation2D = (ProjectiveTransformation2D) obj;
obj
to ProjectiveTransformation2D
.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 transformMeasuresFF(int direction, double[] inMeasures, double[][] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresFF
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFI(int direction, double[] inMeasures, int[][] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresFI
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresIF(int direction, int[] inMeasures, double[][] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresIF
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresII(int direction, int[] inMeasures, int[][] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresII
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsFF(int direction, double[] inPoints, double[][] outPoints) throws java.io.IOException, AutomationException
transformPointsFF
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsFI(int direction, double[] inPoints, int[][] outPoints) throws java.io.IOException, AutomationException
transformPointsFI
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsIF(int direction, int[] inPoints, double[][] outPoints) throws java.io.IOException, AutomationException
transformPointsIF
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsII(int direction, int[] inPoints, int[][] outPoints) throws java.io.IOException, AutomationException
transformPointsII
in interface IProjectiveTransformation2DGEN
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference sR) throws java.io.IOException, AutomationException
setSpatialReferenceByRef
in interface IProjectiveTransformation2D
setSpatialReferenceByRef
in interface IProjectiveTransformation2DGEN
sR
- 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 getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference
in interface IProjectiveTransformation2D
getSpatialReference
in interface IProjectiveTransformation2DGEN
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IProjectiveTransformation2D
reset
in interface IProjectiveTransformation2DGEN
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void defineFromControlPoints(IPoint[] fromPoints, IPoint[] toPoints) throws java.io.IOException, AutomationException
defineFromControlPoints
in interface IProjectiveTransformation2DGEN
fromPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)toPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getRMSError(double[] fromError, double[] toError) throws java.io.IOException, AutomationException
getRMSError
in interface IProjectiveTransformation2D
getRMSError
in interface IProjectiveTransformation2DGEN
fromError
- The fromError (in/out: use single element array)toError
- The toError (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getControlPointError(int i, double[] fromError, double[] toError) throws java.io.IOException, AutomationException
getControlPointError
in interface IProjectiveTransformation2D
getControlPointError
in interface IProjectiveTransformation2DGEN
i
- The i (in)fromError
- The fromError (in/out: use single element array)toError
- The toError (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void project(ISpatialReference newSpatialReference) throws java.io.IOException, AutomationException
project
in interface IProjectiveTransformation2D
project
in interface IProjectiveTransformation2DGEN
newSpatialReference
- 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 void queryTransformationParameters(int direction, double[][] params) throws java.io.IOException, AutomationException
queryTransformationParameters
in interface IProjectiveTransformation2DGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)params
- The params (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTransformationParameters(int direction, double[] params) throws java.io.IOException, AutomationException
setTransformationParameters
in interface IProjectiveTransformation2D
setTransformationParameters
in interface IProjectiveTransformation2DGEN
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)params
- The params (in)java.io.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 java.io.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)java.io.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 java.io.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)java.io.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 java.io.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)java.io.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 java.io.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)java.io.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 java.io.IOException, AutomationException
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)java.io.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 java.io.IOException, AutomationException
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)java.io.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 java.io.IOException, AutomationException
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)java.io.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 java.io.IOException, AutomationException
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void defineFromControlPoints(int numPoints, IPoint fromPoints, IPoint toPoints) throws java.io.IOException, AutomationException
defineFromControlPoints
in interface IProjectiveTransformation2D
numPoints
- 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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryTransformationParameters(int direction, double[] params) throws java.io.IOException, AutomationException
queryTransformationParameters
in interface IProjectiveTransformation2D
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)params
- The params (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 interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.