com.esri.arcgis.geodatabaseextensions
Interface ICadastralUnitConversion

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadastralUnitConversion, ICadastralUnitConversionProxy

public interface ICadastralUnitConversion
extends java.io.Serializable

COM Interface 'ICadastralUnitConversion'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description: 'Provides access to methods that allow a distance to be converted from one unit to another.' 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 IIDf8b45123_3fd5_4f0b_bfa0_f81ae0a79df9
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double convertDouble(double val, int unit, int outputUnit)
          Convert units of a double value.
 double convertString(java.lang.String val, int defaultUnit, int outputUnit)
          Convert units of string value to double.
 int getDistanceUnitType(ILinearUnit pLinearUnit)
          Cadastral Distance Units for a particular linear unit.
 

Field Detail

IIDf8b45123_3fd5_4f0b_bfa0_f81ae0a79df9

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

getDistanceUnitType

int getDistanceUnitType(ILinearUnit pLinearUnit)
                        throws java.io.IOException,
                               AutomationException
Cadastral Distance Units for a particular linear unit.

Parameters:
pLinearUnit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
Returns:
A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertString

double convertString(java.lang.String val,
                     int defaultUnit,
                     int outputUnit)
                     throws java.io.IOException,
                            AutomationException
Convert units of string value to double. Example: '55 ft'. If the unit suffix string is missing, the default unit is used.

Parameters:
val - The val (in)
defaultUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
outputUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertDouble

double convertDouble(double val,
                     int unit,
                     int outputUnit)
                     throws java.io.IOException,
                            AutomationException
Convert units of a double value.

Parameters:
val - The val (in)
unit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
outputUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.