com.esri.arcgis.geometry
Class IAffineTransformation2DProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.ITransformationProxy
          extended by com.esri.arcgis.geometry.IAffineTransformation2DProxy
All Implemented Interfaces:
IAffineTransformation2D, ITransformation, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IAffineTransformation2D2Proxy

Deprecated. Internal use only. Proxy for COM Interface 'IAffineTransformation2D'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

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

public class IAffineTransformation2DProxy
extends ITransformationProxy
implements IAffineTransformation2D, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.IAffineTransformation2D
IID, IIDd12f81b4_d263_11d2_9f29_00c04f6bdd7f
 
Fields inherited from interface com.esri.arcgis.geometry.ITransformation
IID6f2cf924_7e00_11d0_82f4_0000f8034032
 
Constructor Summary
  IAffineTransformation2DProxy()
          Deprecated. For internal use only
  IAffineTransformation2DProxy(java.lang.Object obj)
          Deprecated.  
protected IAffineTransformation2DProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IAffineTransformation2DProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IAffineTransformation2DProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void defineFromControlPoints(int numPoints, IPoint fromPoints, IPoint toPoints)
          Deprecated. Defines the best affine transformation between two sets of points.
 void defineFromEnvelopes(IEnvelope from, IEnvelope to)
          Deprecated. Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.
 void defineFromEnvelopesEx(IEnvelope from, IEnvelope to, IEnvelope outFrom, boolean assumeFalseOrigin, boolean keepAspect, boolean flipIt)
          Deprecated. Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.
 void defineReflection(ILine l)
          Deprecated. Defines a transformation that can perform a reflection about the line l.
 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.
 double getRotation()
          Deprecated. The rotation angle.
 ISpatialReference getSpatialReference()
          Deprecated. The spatial reference in which this transformation is meaningful.
 double getXScale()
          Deprecated. The scale along the X axis.
 double getXTranslation()
          Deprecated. The translation along the X axis.
 double getYScale()
          Deprecated. The scale along the Y axis.
 double getYTranslation()
          Deprecated. The translation along the Y axis.
 boolean isReflective()
          Deprecated. Indicates if the transformation contains a reflection (determinant is negative).
 void move(double dx, double dy)
          Deprecated. Incorporates a translation factor into the transformation.
 void moveVector(ILine movementVector)
          Deprecated. Performs an X and Y translation defined by a 2D vector.
 void postMultiply(IAffineTransformation2D postTransform)
          Deprecated. Post-multiplies the transformation by another transformation.
 void preMultiply(IAffineTransformation2D preTransform)
          Deprecated. Pre-multiplies the transformation by another transformation.
 void project(ISpatialReference newSpatialReference)
          Deprecated. Moves this transformation into another spatial reference.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void reset()
          Deprecated. Resets the tranformation.
 void rotate(double da)
          Deprecated. Incorporates a rotation (in radians) into the transformation.
 void scale(double dx, double dy)
          Deprecated. Incorporates scale factors into the transformation.
 void setMoveOrigin(IPoint rhs1)
          Deprecated. The origin of accumulated transformations used when projecting an affine transformation to a different spatial reference system.
 void setSpatialReferenceByRef(ISpatialReference sR)
          Deprecated. The spatial reference in which this transformation is meaningful.
 
Methods inherited from class com.esri.arcgis.geometry.ITransformationProxy
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.ITransformation
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IAffineTransformation2DProxy

public IAffineTransformation2DProxy(java.lang.String CLSID,
                                    java.lang.String host,
                                    com.esri.arcgis.interop.AuthInfo authInfo)
                             throws java.net.UnknownHostException,
                                    java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IAffineTransformation2DProxy

public IAffineTransformation2DProxy()
Deprecated. 
For internal use only


IAffineTransformation2DProxy

public IAffineTransformation2DProxy(java.lang.Object obj)
                             throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IAffineTransformation2DProxy

protected IAffineTransformation2DProxy(java.lang.Object obj,
                                       java.lang.String iid)
                                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IAffineTransformation2DProxy

protected IAffineTransformation2DProxy(java.lang.String CLSID,
                                       java.lang.String iid,
                                       java.lang.String host,
                                       com.esri.arcgis.interop.AuthInfo authInfo)
                                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class ITransformationProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class ITransformationProxy
Throws:
java.io.IOException

setSpatialReferenceByRef

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

Specified by:
setSpatialReferenceByRef in interface IAffineTransformation2D
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

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

Specified by:
getSpatialReference in interface IAffineTransformation2D
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

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

Specified by:
reset in interface IAffineTransformation2D
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

defineFromControlPoints

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

Specified by:
defineFromControlPoints in interface IAffineTransformation2D
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.

defineFromEnvelopes

public void defineFromEnvelopes(IEnvelope from,
                                IEnvelope to)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.

Specified by:
defineFromEnvelopes in interface IAffineTransformation2D
Parameters:
from - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
to - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

defineFromEnvelopesEx

public void defineFromEnvelopesEx(IEnvelope from,
                                  IEnvelope to,
                                  IEnvelope outFrom,
                                  boolean assumeFalseOrigin,
                                  boolean keepAspect,
                                  boolean flipIt)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.

Specified by:
defineFromEnvelopesEx in interface IAffineTransformation2D
Parameters:
from - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
to - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
outFrom - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
assumeFalseOrigin - The assumeFalseOrigin (in)
keepAspect - The keepAspect (in)
flipIt - The flipIt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

defineReflection

public void defineReflection(ILine l)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Defines a transformation that can perform a reflection about the line l.

Specified by:
defineReflection in interface IAffineTransformation2D
Parameters:
l - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRMSError

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

Specified by:
getRMSError in interface IAffineTransformation2D
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

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

Specified by:
getControlPointError in interface IAffineTransformation2D
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.

getXScale

public double getXScale()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
The scale along the X axis.

Specified by:
getXScale in interface IAffineTransformation2D
Returns:
The sx
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYScale

public double getYScale()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
The scale along the Y axis.

Specified by:
getYScale in interface IAffineTransformation2D
Returns:
The sy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXTranslation

public double getXTranslation()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The translation along the X axis.

Specified by:
getXTranslation in interface IAffineTransformation2D
Returns:
The dx
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYTranslation

public double getYTranslation()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The translation along the Y axis.

Specified by:
getYTranslation in interface IAffineTransformation2D
Returns:
The dy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRotation

public double getRotation()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The rotation angle. Will not be able if different x/y scale factors have been incorporated into the transformation.

Specified by:
getRotation in interface IAffineTransformation2D
Returns:
The r
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

scale

public void scale(double dx,
                  double dy)
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Incorporates scale factors into the transformation.

Specified by:
scale in interface IAffineTransformation2D
Parameters:
dx - The dx (in)
dy - The dy (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMoveOrigin

public void setMoveOrigin(IPoint rhs1)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The origin of accumulated transformations used when projecting an affine transformation to a different spatial reference system.

Specified by:
setMoveOrigin in interface IAffineTransformation2D
Parameters:
rhs1 - 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.

moveVector

public void moveVector(ILine movementVector)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Performs an X and Y translation defined by a 2D vector.

Specified by:
moveVector in interface IAffineTransformation2D
Parameters:
movementVector - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

move

public void move(double dx,
                 double dy)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Incorporates a translation factor into the transformation.

Specified by:
move in interface IAffineTransformation2D
Parameters:
dx - The dx (in)
dy - The dy (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotate

public void rotate(double da)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Incorporates a rotation (in radians) into the transformation.

Specified by:
rotate in interface IAffineTransformation2D
Parameters:
da - The da (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

postMultiply

public void postMultiply(IAffineTransformation2D postTransform)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Post-multiplies the transformation by another transformation.

Specified by:
postMultiply in interface IAffineTransformation2D
Parameters:
postTransform - A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

preMultiply

public void preMultiply(IAffineTransformation2D preTransform)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Pre-multiplies the transformation by another transformation.

Specified by:
preMultiply in interface IAffineTransformation2D
Parameters:
preTransform - A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReflective

public boolean isReflective()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Indicates if the transformation contains a reflection (determinant is negative).

Specified by:
isReflective in interface IAffineTransformation2D
Returns:
The isReflective
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

project

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

Specified by:
project in interface IAffineTransformation2D
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.