|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICadastralUnitConversion
Provides access to methods that allow a distance to be converted from one unit to another.
| 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. |
int |
getDistanceUnitType(ILinearUnit pLinearUnit)
Cadastral Distance Units for a particular linear unit. |
| Method Detail |
|---|
int getDistanceUnitType(ILinearUnit pLinearUnit)
throws IOException,
AutomationException
pLinearUnit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double convertString(String val,
int defaultUnit,
int outputUnit)
throws IOException,
AutomationException
val - 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.
double convertDouble(double val,
int unit,
int outputUnit)
throws IOException,
AutomationException
val - 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 | ||||||||