com.esri.arcgis.datasourcesfile
Interface ICadTransformations

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadFeatureLayer, CadLayer, ICadTransformationsProxy

public interface ICadTransformations
extends java.io.Serializable

COM Interface 'ICadTransformations'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description: 'Provides access to members that control Cad 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 IIDe37f71ab_bfb1_11d2_9b20_00c04fa33299
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void getFromToTransform(_WKSPoint[] fromPoint1, _WKSPoint[] fromPoint2, _WKSPoint[] toPoint1, _WKSPoint[] toPoint2)
          Returns the points of a two point transformation.
 void getTransformation(_WKSPoint[] from, _WKSPoint[] to, double[] angle, double[] scale)
          Returns the rotation, scale, and translation of a transformation.
 int getTransformMode()
          The transformation type.
 java.lang.String getWorldFileName()
          The pathname of the world file.
 boolean isEnableTransformations()
          Indicates if global transformations are enabled.
 void setEnableTransformations(boolean enabled)
          Indicates if global transformations are enabled.
 void setFromToTransform(_WKSPoint fromPoint1, _WKSPoint fromPoint2, _WKSPoint toPoint1, _WKSPoint toPoint2)
          Sets the points of a two point transformation.
 void setTransformation(_WKSPoint from, _WKSPoint to, double angle, double scale)
          Sets the rotation, scale, and translation of a transformation.
 void setTransformMode(int mode)
          The transformation type.
 void setWorldFileName(java.lang.String filePath)
          The pathname of the world file.
 

Field Detail

IIDe37f71ab_bfb1_11d2_9b20_00c04fa33299

static final int IIDe37f71ab_bfb1_11d2_9b20_00c04fa33299
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

isEnableTransformations

boolean isEnableTransformations()
                                throws java.io.IOException,
                                       AutomationException
Indicates if global transformations are enabled.

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

setEnableTransformations

void setEnableTransformations(boolean enabled)
                              throws java.io.IOException,
                                     AutomationException
Indicates if global transformations are enabled.

Parameters:
enabled - The enabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorldFileName

java.lang.String getWorldFileName()
                                  throws java.io.IOException,
                                         AutomationException
The pathname of the world file.

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

setWorldFileName

void setWorldFileName(java.lang.String filePath)
                      throws java.io.IOException,
                             AutomationException
The pathname of the world file.

Parameters:
filePath - The filePath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransformMode

int getTransformMode()
                     throws java.io.IOException,
                            AutomationException
The transformation type.

Returns:
A com.esri.arcgis.datasourcesfile.esriCadTransform constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransformMode

void setTransformMode(int mode)
                      throws java.io.IOException,
                             AutomationException
The transformation type.

Parameters:
mode - A com.esri.arcgis.datasourcesfile.esriCadTransform constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromToTransform

void getFromToTransform(_WKSPoint[] fromPoint1,
                        _WKSPoint[] fromPoint2,
                        _WKSPoint[] toPoint1,
                        _WKSPoint[] toPoint2)
                        throws java.io.IOException,
                               AutomationException
Returns the points of a two point transformation.

Parameters:
fromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromToTransform

void setFromToTransform(_WKSPoint fromPoint1,
                        _WKSPoint fromPoint2,
                        _WKSPoint toPoint1,
                        _WKSPoint toPoint2)
                        throws java.io.IOException,
                               AutomationException
Sets the points of a two point transformation.

Parameters:
fromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransformation

void getTransformation(_WKSPoint[] from,
                       _WKSPoint[] to,
                       double[] angle,
                       double[] scale)
                       throws java.io.IOException,
                              AutomationException
Returns the rotation, scale, and translation of a transformation.

Parameters:
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
angle - The angle (out: use single element array)
scale - The scale (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransformation

void setTransformation(_WKSPoint from,
                       _WKSPoint to,
                       double angle,
                       double scale)
                       throws java.io.IOException,
                              AutomationException
Sets the rotation, scale, and translation of a transformation.

Parameters:
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
angle - The angle (in)
scale - The scale (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.