com.esri.arcgis.geometry
Interface ITransformation3DGEN

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AffineTransformation3D, ITransformation3DGENProxy

public interface ITransformation3DGEN
extends java.io.Serializable

Provides access to members that control a 3D affine transformation. ITransformation3DGEN is generic version of ITransformation3D.

Product Availability

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


Method Summary
 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 translate(IVector3D offsetVector)
          Adds an offset (move) to the transformation matrix.
 

Method Detail

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the transformation to unit matrix.

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

translate

public void translate(IVector3D offsetVector)
               throws java.io.IOException,
                      AutomationException
Adds an offset (move) to the transformation matrix.

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
Adds a scaling factor to the transformation matrix.

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
Adds a rotation in radians to the transformation matrix.

Parameters:
rotationAngle - The rotationAngle (in)
rotationAxis - 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.

postMultiply

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

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
Pre-multiplies the transformation by another transformation.

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
Applies the current transformation to a set of points. Use of methods on ITransform3D is recommended instead of this method.

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