com.esri.arcgis.geometry
Interface IProjectiveTransformation2D

All Superinterfaces:
ITransformation, java.io.Serializable
All Known Implementing Classes:
IProjectiveTransformation2DProxy, ProjectiveTransformation2D

public interface IProjectiveTransformation2D
extends ITransformation, java.io.Serializable

COM Interface 'IProjectiveTransformation2D'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that define and manipulate projective transformations.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID1c8a72c4_5a43_48ef_938e_2119608d77d0
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geometry.ITransformation
IID6f2cf924_7e00_11d0_82f4_0000f8034032
 
Method Summary
 void defineFromControlPoints(int numPoints, IPoint fromPoints, IPoint toPoints)
          Defines the best projective transformation between two sets of points.
 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.
 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 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.
 
Methods inherited from interface com.esri.arcgis.geometry.ITransformation
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
 

Field Detail

IID1c8a72c4_5a43_48ef_938e_2119608d77d0

static final int IID1c8a72c4_5a43_48ef_938e_2119608d77d0
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setSpatialReferenceByRef

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

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

getSpatialReference

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

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

reset

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

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

defineFromControlPoints

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

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

getRMSError

void getRMSError(double[] fromError,
                 double[] toError)
                 throws java.io.IOException,
                        AutomationException
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.

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

getControlPointError

void getControlPointError(int i,
                          double[] fromError,
                          double[] toError)
                          throws java.io.IOException,
                                 AutomationException
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.

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

project

void project(ISpatialReference newSpatialReference)
             throws java.io.IOException,
                    AutomationException
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.

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

queryTransformationParameters

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

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

setTransformationParameters

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

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