com.esri.arcgis.geometry
Class AffineTransformation3D

java.lang.Object
  extended bycom.esri.arcgis.geometry.AffineTransformation3D
All Implemented Interfaces:
IAffineTransformation3D, IAffineTransformation3DGEN, IClone, ISupportErrorInfo, ITransformation, ITransformation3D, ITransformation3DGEN, ITransformationGEN, java.io.Serializable

public class AffineTransformation3D
extends java.lang.Object
implements ITransformationGEN, ITransformation3DGEN, ITransformation, ITransformation3D, IAffineTransformation3D, IAffineTransformation3DGEN, IClone, ISupportErrorInfo

A three dimensional transformation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
AffineTransformation3D()
          Constructs a AffineTransformation3D using ArcGIS Engine.
AffineTransformation3D(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
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 3D affine transformation between two sets of points.
 void defineFromControlPoints(IPoint[] fromPoints, IPoint[] toPoints)
          Defines the best 3D affine 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.
 IAffineTransformation3D getAsIAffineTransformation3D()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IAffineTransformation3DGEN getAsIAffineTransformation3DGEN()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IClone getAsIClone()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ISupportErrorInfo getAsISupportErrorInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITransformation getAsITransformation()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITransformation3D getAsITransformation3D()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITransformation3DGEN getAsITransformation3DGEN()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITransformationGEN getAsITransformationGEN()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String 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.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          Supported Platforms
 boolean isEqual(IClone other)
          Returns TRUE when the receiver and other have the same properties.
 boolean isIdentical(IClone other)
          Returns TRUE when the receiver and other are the same object.
 void postMultiply(ITransformation3D postTransform)
          Post-multiplies the transformation by another transformation.
 void preMultiply(ITransformation3D preTransform)
          Pre-multiplies the transformation by another transformation.
 void reset()
          Resets the transformation to unit matrix.
 void rotate(double rotationAngle, IVector3D rotationAxis)
          Adds a rotation in radians to the transformation matrix.
 void scale(double sx, double sy, double sz)
          Adds a scaling factor to the transformation matrix.
 void transform(_WKSPointZ[] originalPoints, _WKSPointZ[][] transformedPoints)
          Applies the current transformation to a set of points.
 void transform(int numPoints, _WKSPointZ originalPoints, _WKSPointZ[] transformedPoints)
          Applies the current transformation to a set of points.
 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).
 void translate(IVector3D offsetVector)
          Adds an offset (move) to the transformation matrix.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffineTransformation3D

public AffineTransformation3D()
                       throws java.io.IOException,
                              java.net.UnknownHostException
Constructs a AffineTransformation3D using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AffineTransformation3D

public AffineTransformation3D(java.lang.Object obj)
                       throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a AffineTransformation3D using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AffineTransformation3D.
AffineTransformation3D theAffineTransformation3D = (AffineTransformation3D) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsITransformationGEN

public ITransformationGEN getAsITransformationGEN()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITransformation3DGEN

public ITransformation3DGEN getAsITransformation3DGEN()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITransformation

public ITransformation getAsITransformation()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITransformation3D

public ITransformation3D getAsITransformation3D()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIAffineTransformation3D

public IAffineTransformation3D getAsIAffineTransformation3D()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIAffineTransformation3DGEN

public IAffineTransformation3DGEN getAsIAffineTransformation3DGEN()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIClone

public IClone getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsISupportErrorInfo

public ISupportErrorInfo getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


transformMeasuresFF

public void transformMeasuresFF(int direction,
                                double[] inMeasures,
                                double[][] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformationGEN
Transforms floating point measures to floating point measures (or do the inverse).

Specified by:
transformMeasuresFF in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformMeasuresFI

public void transformMeasuresFI(int direction,
                                double[] inMeasures,
                                int[][] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformationGEN
Transforms floating point measures to integer measures (or do the inverse).

Specified by:
transformMeasuresFI in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformMeasuresIF

public void transformMeasuresIF(int direction,
                                int[] inMeasures,
                                double[][] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformationGEN
Transforms integer measures to floating point measures (or do the inverse).

Specified by:
transformMeasuresIF in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformMeasuresII

public void transformMeasuresII(int direction,
                                int[] inMeasures,
                                int[][] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformationGEN
Transforms integer measures to integer measures (or do the inverse).

Specified by:
transformMeasuresII in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformPointsFF

public void transformPointsFF(int direction,
                              double[] inPoints,
                              double[][] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformationGEN
Transforms floating point points to floating point points (or do the inverse).

Specified by:
transformPointsFF in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformPointsFI

public void transformPointsFI(int direction,
                              double[] inPoints,
                              int[][] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformationGEN
Transforms floating point points to integer points (or do the inverse).

Specified by:
transformPointsFI in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformPointsIF

public void transformPointsIF(int direction,
                              int[] inPoints,
                              double[][] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformationGEN
Transforms integer points to floating point points (or do the inverse).

Specified by:
transformPointsIF in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformPointsII

public void transformPointsII(int direction,
                              int[] inPoints,
                              int[][] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformationGEN
Transforms integer points to integer points (or do the inverse).

Specified by:
transformPointsII in interface ITransformationGEN
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in/out: use single element array)
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
Description copied from interface: ITransformation3DGEN
Resets the transformation to unit matrix.

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

translate

public void translate(IVector3D offsetVector)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITransformation3DGEN
Adds an offset (move) to the transformation matrix.

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

scale

public void scale(double sx,
                  double sy,
                  double sz)
           throws java.io.IOException,
                  AutomationException
Description copied from interface: ITransformation3DGEN
Adds a scaling factor to the transformation matrix.

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

rotate

public void rotate(double rotationAngle,
                   IVector3D rotationAxis)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: ITransformation3DGEN
Adds a rotation in radians to the transformation matrix.

Specified by:
rotate in interface ITransformation3DGEN
Parameters:
rotationAngle - The rotationAngle (in)
rotationAxis - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

postMultiply

public void postMultiply(ITransformation3D postTransform)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ITransformation3DGEN
Post-multiplies the transformation by another transformation.

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

preMultiply

public void preMultiply(ITransformation3D preTransform)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ITransformation3DGEN
Pre-multiplies the transformation by another transformation.

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

transform

public void transform(_WKSPointZ[] originalPoints,
                      _WKSPointZ[][] transformedPoints)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITransformation3DGEN
Applies the current transformation to a set of points. Use of methods on ITransform3D is recommended instead of this method.

Specified by:
transform in interface ITransformation3DGEN
Parameters:
originalPoints - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
transformedPoints - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformMeasuresFF

public void transformMeasuresFF(int direction,
                                int cMeasures,
                                double[] inMeasures,
                                double[] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformation
Transforms floating point measures to floating point measures (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Specified by:
transformMeasuresFF in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cMeasures - The cMeasures (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformMeasuresFI

public void transformMeasuresFI(int direction,
                                int cMeasures,
                                double[] inMeasures,
                                int[] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformation
Transforms floating point measures to integer measures (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Specified by:
transformMeasuresFI in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cMeasures - The cMeasures (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformMeasuresIF

public void transformMeasuresIF(int direction,
                                int cMeasures,
                                int[] inMeasures,
                                double[] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformation
Transforms integer measures to floating point measures (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Specified by:
transformMeasuresIF in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cMeasures - The cMeasures (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformMeasuresII

public void transformMeasuresII(int direction,
                                int cMeasures,
                                int[] inMeasures,
                                int[] outMeasures)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ITransformation
Transforms integer measures to integer measures (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Specified by:
transformMeasuresII in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cMeasures - The cMeasures (in)
inMeasures - The inMeasures (in)
outMeasures - The outMeasures (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformPointsFF

public void transformPointsFF(int direction,
                              int cPoints,
                              double[] inPoints,
                              double[] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformation
Transforms floating point points to floating point points (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
transformPointsFF in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cPoints - The cPoints (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformPointsFI

public void transformPointsFI(int direction,
                              int cPoints,
                              double[] inPoints,
                              int[] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformation
Transforms floating point points to integer points (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
transformPointsFI in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cPoints - The cPoints (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformPointsIF

public void transformPointsIF(int direction,
                              int cPoints,
                              int[] inPoints,
                              double[] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformation
Transforms integer points to floating point points (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
transformPointsIF in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cPoints - The cPoints (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transformPointsII

public void transformPointsII(int direction,
                              int cPoints,
                              int[] inPoints,
                              int[] outPoints)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ITransformation
Transforms integer points to integer points (or do the inverse).

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
transformPointsII in interface ITransformation
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
cPoints - The cPoints (in)
inPoints - The inPoints (in)
outPoints - The outPoints (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

transform

public void transform(int numPoints,
                      _WKSPointZ originalPoints,
                      _WKSPointZ[] transformedPoints)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITransformation3D
Applies the current transformation to a set of points. Use of methods on ITransform3D is recommended instead of this method.

Supported Platforms

Windows, Solaris, Linux

Specified by:
transform in interface ITransformation3D
Parameters:
numPoints - The numPoints (in)
originalPoints - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
transformedPoints - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
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
Description copied from interface: IAffineTransformation3D
Defines the best 3D affine transformation between two sets of points. Can be used to register paper maps on a digitizer.

Supported Platforms

Windows, Solaris, Linux

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

getRMSError

public void getRMSError(double[] fromError,
                        double[] toError)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IAffineTransformation3D
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.

Supported Platforms

Windows, Solaris, Linux

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

getControlPointError

public void getControlPointError(int i,
                                 double[] fromError,
                                 double[] toError)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IAffineTransformation3D
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.

Supported Platforms

Windows, Solaris, Linux

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

defineFromControlPoints

public void defineFromControlPoints(IPoint[] fromPoints,
                                    IPoint[] toPoints)
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IAffineTransformation3DGEN
Defines the best 3D affine transformation between two sets of points. Can be used to register paper maps on a digitizer.

Specified by:
defineFromControlPoints in interface IAffineTransformation3DGEN
Parameters:
fromPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
toPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IClone
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IClone
Assigns the properties of src to the receiver.

Supported Platforms

Windows, Solaris, Linux

Description

Use Assign method to assign the properties of source object to receiver object. Both objects need to have the same CLSIDs. Both source and receiver objects need to be instantiated.

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

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IClone
Returns TRUE when the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IClone
Returns TRUE when the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: ISupportErrorInfo

Supported Platforms

Windows, Solaris, Linux

Description

Indicates whether the interface supports IErrorInfo.

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.