|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.AngularConverter
public class AngularConverter
Converts angle measurement from one unit to another.
| Constructor Summary | |
|---|---|
AngularConverter()
Constructs a AngularConverter using ArcGIS Engine. |
|
AngularConverter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AngularConverter theAngularConverter = (AngularConverter) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getAngle(int dt,
int du)
Reads the angle. |
static String |
getClsid()
getClsid. |
String |
getString(int dt,
int du,
int precision)
Reads the angle. |
int |
hashCode()
the hashcode for this object |
boolean |
isNegativeAngles()
Allow an angle to be converted from one direction unit to another. |
boolean |
setAngle(double angle,
int dt,
int du)
Writes an angle. |
void |
setNegativeAngles(boolean negAngles)
Allow an angle to be converted from one direction unit to another. |
boolean |
setString(String angle,
int dt,
int du)
Writes an angle. |
| 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 AngularConverter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AngularConverter(Object obj)
throws IOException
AngularConverter theAngularConverter = (AngularConverter) obj;
obj to AngularConverter.
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 boolean setAngle(double angle,
int dt,
int du)
throws IOException,
AutomationException
setAngle in interface IAngularConverterangle - The angle (in)dt - A com.esri.arcgis.system.esriDirectionType constant (in)du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle(int dt,
int du)
throws IOException,
AutomationException
getAngle in interface IAngularConverterdt - A com.esri.arcgis.system.esriDirectionType constant (in)du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean setString(String angle,
int dt,
int du)
throws IOException,
AutomationException
setString in interface IAngularConverterangle - The angle (in)dt - A com.esri.arcgis.system.esriDirectionType constant (in)du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getString(int dt,
int du,
int precision)
throws IOException,
AutomationException
getString in interface IAngularConverterdt - A com.esri.arcgis.system.esriDirectionType constant (in)du - A com.esri.arcgis.system.esriDirectionUnits constant (in)precision - The precision (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNegativeAngles(boolean negAngles)
throws IOException,
AutomationException
setNegativeAngles in interface IAngularConverter2negAngles - The negAngles (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isNegativeAngles()
throws IOException,
AutomationException
isNegativeAngles in interface IAngularConverter2IOException - 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 | ||||||||