|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabaseextensions.CadastralUnitConversion
public class CadastralUnitConversion
Converts distance values from one unit to another.
| Constructor Summary | |
|---|---|
CadastralUnitConversion()
Constructs a CadastralUnitConversion using ArcGIS Engine. |
|
CadastralUnitConversion(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CadastralUnitConversion theCadastralUnitConversion = (CadastralUnitConversion) obj; |
|
| Method Summary | |
|---|---|
double |
convertDouble(double val,
int unit,
int outputUnit)
Convert units of a double value. |
double |
convertString(String val,
int defaultUnit,
int outputUnit)
Convert units of string value to double. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getDistanceUnitType(ILinearUnit pLinearUnit)
Cadastral Distance Units for a particular linear unit. |
int |
hashCode()
the hashcode for this object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public CadastralUnitConversion()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public CadastralUnitConversion(Object obj)
throws IOException
CadastralUnitConversion theCadastralUnitConversion = (CadastralUnitConversion) obj;
obj to CadastralUnitConversion.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getDistanceUnitType(ILinearUnit pLinearUnit)
throws IOException,
AutomationException
getDistanceUnitType in interface ICadastralUnitConversionpLinearUnit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double convertString(String val,
int defaultUnit,
int outputUnit)
throws IOException,
AutomationException
convertString in interface ICadastralUnitConversionval - The val (in)defaultUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)outputUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double convertDouble(double val,
int unit,
int outputUnit)
throws IOException,
AutomationException
convertDouble in interface ICadastralUnitConversionval - The val (in)unit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)outputUnit - A com.esri.arcgis.geodatabaseextensions.esriCadastralDistanceUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||