com.esri.arcgis.geometry
Interface IProjectiveTransformation2D

All Superinterfaces:
ITransformation, Serializable
All Known Implementing Classes:
ProjectiveTransformation2D

Deprecated. This interface uses C style arrays which are not supported in the ArcGIS API for Java. It is replaced by IProjectiveTransformation2DGEN. You can use the GEN interface proxy's Object-constructor to cast an instance of this interface to its GEN equivalent. Any ArcGIS class that implements this interface also implements the GEN interface.

public interface IProjectiveTransformation2D
extends ITransformation, Serializable

Provides access to members that define and manipulate projective transformations.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void defineFromControlPoints(int numPoints, IPoint fromPoints, IPoint toPoints)
          Deprecated. Defines the best projective transformation between two sets of points.
 void getControlPointError(int i, double[] fromError, double[] toError)
          Deprecated. Returns the errors involved in moving control point i from the 'from' to 'to' system.
 void getRMSError(double[] fromError, double[] toError)
          Deprecated. RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation.
 ISpatialReference getSpatialReference()
          Deprecated. The spatial reference in which this transformation is meaningful.
 void project(ISpatialReference newSpatialReference)
          Deprecated. Moves this transformation into another spatial reference.
 void queryTransformationParameters(int direction, double[] params)
          Deprecated. Returns the eight parameters which define the two dimensional projective transformation.
 void reset()
          Deprecated. Resets the tranformation.
 void setSpatialReferenceByRef(ISpatialReference sR)
          Deprecated. The spatial reference in which this transformation is meaningful.
 void setTransformationParameters(int direction, double[] params)
          Deprecated. Sets the eight parameters which define the two dimensional projective transformation.
 
Methods inherited from interface com.esri.arcgis.geometry.ITransformation
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
 

Method Detail

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference sR)
                              throws IOException,
                                     AutomationException
Deprecated. 
The spatial reference in which this transformation is meaningful.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
sR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
Deprecated. 
The spatial reference in which this transformation is meaningful.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Deprecated. 
Resets the tranformation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

defineFromControlPoints

void defineFromControlPoints(int numPoints,
                             IPoint fromPoints,
                             IPoint toPoints)
                             throws IOException,
                                    AutomationException
Deprecated. 
Defines the best projective transformation between two sets of points. Can be used to register paper maps on a digitizer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRMSError

void getRMSError(double[] fromError,
                 double[] toError)
                 throws IOException,
                        AutomationException
Deprecated. 
RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fromError - The fromError (out: use single element array)
toError - The toError (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getControlPointError

void getControlPointError(int i,
                          double[] fromError,
                          double[] toError)
                          throws IOException,
                                 AutomationException
Deprecated. 
Returns the errors involved in moving control point i from the 'from' to 'to' system. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
i - The i (in)
fromError - The fromError (out: use single element array)
toError - The toError (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

project

void project(ISpatialReference newSpatialReference)
             throws IOException,
                    AutomationException
Deprecated. 
Moves this transformation into another spatial reference. If the transformations contains only translations, then use the MoveOrigin property to define an equivalent translation in the new spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
newSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTransformationParameters

void queryTransformationParameters(int direction,
                                   double[] params)
                                   throws IOException,
                                          AutomationException
Deprecated. 
Returns the eight parameters which define the two dimensional projective transformation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
params - The params (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransformationParameters

void setTransformationParameters(int direction,
                                 double[] params)
                                 throws IOException,
                                        AutomationException
Deprecated. 
Sets the eight parameters which define the two dimensional projective transformation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
params - The params (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.