com.esri.arcgis.datasourcesraster
Class AngularMeasurement

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.AngularMeasurement
All Implemented Interfaces:
IAngularMeasurement, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class AngularMeasurement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAngularMeasurement

Implements interface IAngularMeasurement (angular measurement and the associated uncertainty information).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
AngularMeasurement()
          Constructs a AngularMeasurement using ArcGIS Engine.
AngularMeasurement(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AngularMeasurement theAngularMeasurement = (AngularMeasurement) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 double getAngleMeasurement()
          The angular measurment.
 double getAngleUncertainty()
          The angular measurment uncertainty.
 String getAngularUnit()
          The angular unit of this angular measurment object.
static String getClsid()
          getClsid.
 double getHeightAtPoint1()
          The height measurement at the first point.
 double getHeightAtPoint2()
          The height measurement at the second point.
 String getLinearUnit()
          The linear unit of this angular measurment.
 int hashCode()
          the hashcode for this object
 void reset()
          Resets all the properties of this IAngularMeasurement to their default values.
 void setAngleMeasurement(double pAngleMeasurement)
          The angular measurment.
 void setAngleUncertainty(double pAngleUncertainty)
          The angular measurment uncertainty.
 void setAngularUnit(String pAngularUnit)
          The angular unit of this angular measurment object.
 void setHeightAtPoint1(double pHeightAtPoint1)
          The height measurement at the first point.
 void setHeightAtPoint2(double pHeightAtPoint2)
          The height measurement at the second point.
 void setLinearUnit(String pLinearUnit)
          The linear unit of this angular measurment.
 
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

AngularMeasurement

public AngularMeasurement()
                   throws IOException,
                          UnknownHostException
Constructs a AngularMeasurement using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

AngularMeasurement

public AngularMeasurement(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AngularMeasurement theAngularMeasurement = (AngularMeasurement) obj;

Construct a AngularMeasurement using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AngularMeasurement.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getAngleMeasurement

public double getAngleMeasurement()
                           throws IOException,
                                  AutomationException
The angular measurment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAngleMeasurement in interface IAngularMeasurement
Returns:
The pAngleMeasurement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngleMeasurement

public void setAngleMeasurement(double pAngleMeasurement)
                         throws IOException,
                                AutomationException
The angular measurment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAngleMeasurement in interface IAngularMeasurement
Parameters:
pAngleMeasurement - The pAngleMeasurement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngleUncertainty

public double getAngleUncertainty()
                           throws IOException,
                                  AutomationException
The angular measurment uncertainty.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAngleUncertainty in interface IAngularMeasurement
Returns:
The pAngleUncertainty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngleUncertainty

public void setAngleUncertainty(double pAngleUncertainty)
                         throws IOException,
                                AutomationException
The angular measurment uncertainty.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAngleUncertainty in interface IAngularMeasurement
Parameters:
pAngleUncertainty - The pAngleUncertainty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngularUnit

public String getAngularUnit()
                      throws IOException,
                             AutomationException
The angular unit of this angular measurment object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAngularUnit in interface IAngularMeasurement
Returns:
The pAngularUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngularUnit

public void setAngularUnit(String pAngularUnit)
                    throws IOException,
                           AutomationException
The angular unit of this angular measurment object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAngularUnit in interface IAngularMeasurement
Parameters:
pAngularUnit - The pAngularUnit (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightAtPoint1

public double getHeightAtPoint1()
                         throws IOException,
                                AutomationException
The height measurement at the first point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHeightAtPoint1 in interface IAngularMeasurement
Returns:
The pHeightAtPoint1
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeightAtPoint1

public void setHeightAtPoint1(double pHeightAtPoint1)
                       throws IOException,
                              AutomationException
The height measurement at the first point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHeightAtPoint1 in interface IAngularMeasurement
Parameters:
pHeightAtPoint1 - The pHeightAtPoint1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightAtPoint2

public double getHeightAtPoint2()
                         throws IOException,
                                AutomationException
The height measurement at the second point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHeightAtPoint2 in interface IAngularMeasurement
Returns:
The pHeightAtPoint2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeightAtPoint2

public void setHeightAtPoint2(double pHeightAtPoint2)
                       throws IOException,
                              AutomationException
The height measurement at the second point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHeightAtPoint2 in interface IAngularMeasurement
Parameters:
pHeightAtPoint2 - The pHeightAtPoint2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinearUnit

public String getLinearUnit()
                     throws IOException,
                            AutomationException
The linear unit of this angular measurment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLinearUnit in interface IAngularMeasurement
Returns:
The pLinearUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLinearUnit

public void setLinearUnit(String pLinearUnit)
                   throws IOException,
                          AutomationException
The linear unit of this angular measurment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setLinearUnit in interface IAngularMeasurement
Parameters:
pLinearUnit - The pLinearUnit (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Resets all the properties of this IAngularMeasurement to their default values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
reset in interface IAngularMeasurement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.