com.esri.arcgis.datasourcesraster
Class HeightMeasurement

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

public class HeightMeasurement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IHeightMeasurement

Implements interface IHeightMeasurement (height measurement and its associated uncertainty information).

Product Availability

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

See Also:
Serialized Form

Constructor Summary
HeightMeasurement()
          Constructs a HeightMeasurement using ArcGIS Engine.
HeightMeasurement(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
HeightMeasurement theHeightMeasurement = (HeightMeasurement) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getAngularUnit()
          The angular unit of this height measurment.
 double getAzimuthAngleAtBase()
          The object's base azimuth angle.
 double getAzimuthAngleAtTop()
          The object's top azimuth angle.
static String getClsid()
          getClsid.
 double getGroundProjectedAzimuthAngle()
          The object's ground projected azimuth angle.
 double getHeightMeasurement()
          The height measurement.
 double getHeightUncertainty()
          The height measurement uncertainty.
 String getLinearUnit()
          The linear unit of this height measurment.
 double getMinimumDistance()
          The minimum distance between the two points measured.
 double getShadowAzimuthAngle()
          The object's shadow azimuth angle.
 int hashCode()
          the hashcode for this object
 void reset()
          Resets all the properties of this IHeightMeasurement to their default values.
 void setAngularUnit(String pAngularUnit)
          The angular unit of this height measurment.
 void setAzimuthAngleAtBase(double pAzimuthAngleAtBase)
          The object's base azimuth angle.
 void setAzimuthAngleAtTop(double pAzimuthAngleAtTop)
          The object's top azimuth angle.
 void setGroundProjectedAzimuthAngle(double pGroundPrjAzimuthAngle)
          The object's ground projected azimuth angle.
 void setHeightMeasurement(double pHeightMeasurement)
          The height measurement.
 void setHeightUncertainty(double pHeightUncertainty)
          The height measurement uncertainty.
 void setLinearUnit(String pLinearUnit)
          The linear unit of this height measurment.
 void setMinimumDistance(double pMinimumDistance)
          The minimum distance between the two points measured.
 void setShadowAzimuthAngle(double pShadowAzimuthAngle)
          The object's shadow azimuth 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

HeightMeasurement

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

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

HeightMeasurement

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

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

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

getAngularUnit

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

Product Availability

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

Specified by:
getAngularUnit in interface IHeightMeasurement
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 height measurment.

Product Availability

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

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

getAzimuthAngleAtBase

public double getAzimuthAngleAtBase()
                             throws IOException,
                                    AutomationException
The object's base azimuth angle.

Product Availability

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

Specified by:
getAzimuthAngleAtBase in interface IHeightMeasurement
Returns:
The pAzimuthAngleAtBase
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuthAngleAtBase

public void setAzimuthAngleAtBase(double pAzimuthAngleAtBase)
                           throws IOException,
                                  AutomationException
The object's base azimuth angle.

Product Availability

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

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

getAzimuthAngleAtTop

public double getAzimuthAngleAtTop()
                            throws IOException,
                                   AutomationException
The object's top azimuth angle.

Product Availability

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

Specified by:
getAzimuthAngleAtTop in interface IHeightMeasurement
Returns:
The pAzimuthAngleAtTop
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuthAngleAtTop

public void setAzimuthAngleAtTop(double pAzimuthAngleAtTop)
                          throws IOException,
                                 AutomationException
The object's top azimuth angle.

Product Availability

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

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

getGroundProjectedAzimuthAngle

public double getGroundProjectedAzimuthAngle()
                                      throws IOException,
                                             AutomationException
The object's ground projected azimuth angle.

Product Availability

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

Specified by:
getGroundProjectedAzimuthAngle in interface IHeightMeasurement
Returns:
The pGroundPrjAzimuthAngle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGroundProjectedAzimuthAngle

public void setGroundProjectedAzimuthAngle(double pGroundPrjAzimuthAngle)
                                    throws IOException,
                                           AutomationException
The object's ground projected azimuth angle.

Product Availability

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

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

getHeightMeasurement

public double getHeightMeasurement()
                            throws IOException,
                                   AutomationException
The height measurement.

Product Availability

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

Specified by:
getHeightMeasurement in interface IHeightMeasurement
Returns:
The pHeightMeasurement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeightMeasurement

public void setHeightMeasurement(double pHeightMeasurement)
                          throws IOException,
                                 AutomationException
The height measurement.

Product Availability

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

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

getHeightUncertainty

public double getHeightUncertainty()
                            throws IOException,
                                   AutomationException
The height measurement uncertainty.

Product Availability

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

Specified by:
getHeightUncertainty in interface IHeightMeasurement
Returns:
The pHeightUncertainty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeightUncertainty

public void setHeightUncertainty(double pHeightUncertainty)
                          throws IOException,
                                 AutomationException
The height measurement uncertainty.

Product Availability

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

Specified by:
setHeightUncertainty in interface IHeightMeasurement
Parameters:
pHeightUncertainty - The pHeightUncertainty (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 height measurment.

Product Availability

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

Specified by:
getLinearUnit in interface IHeightMeasurement
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 height measurment.

Product Availability

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

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

getMinimumDistance

public double getMinimumDistance()
                          throws IOException,
                                 AutomationException
The minimum distance between the two points measured.

Product Availability

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

Specified by:
getMinimumDistance in interface IHeightMeasurement
Returns:
The pMinimumDistance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumDistance

public void setMinimumDistance(double pMinimumDistance)
                        throws IOException,
                               AutomationException
The minimum distance between the two points measured.

Product Availability

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

Specified by:
setMinimumDistance in interface IHeightMeasurement
Parameters:
pMinimumDistance - The pMinimumDistance (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 IHeightMeasurement to their default values.

Product Availability

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

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

getShadowAzimuthAngle

public double getShadowAzimuthAngle()
                             throws IOException,
                                    AutomationException
The object's shadow azimuth angle.

Product Availability

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

Specified by:
getShadowAzimuthAngle in interface IHeightMeasurement
Returns:
The pShadowAzimuthAngle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShadowAzimuthAngle

public void setShadowAzimuthAngle(double pShadowAzimuthAngle)
                           throws IOException,
                                  AutomationException
The object's shadow azimuth angle.

Product Availability

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

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