com.esri.arcgis.datasourcesraster
Class DistanceMeasurement

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.DistanceMeasurement
All Implemented Interfaces:
IDistanceMeasurement, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DistanceMeasurement
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDistanceMeasurement

COM Class 'DistanceMeasurement'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'Implements interface IDistanceMeasurement (distance measurement and the associated uncertainty information).' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IDistanceMeasurement
IID, IIDc997d6a9_2b49_42da_97dd_34eb32a14a02, xxDummy
 
Constructor Summary
DistanceMeasurement()
          Constructs a DistanceMeasurement using ArcGIS Engine.
DistanceMeasurement(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DistanceMeasurement theDistanceMeasurement = (DistanceMeasurement) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getAngularUnit()
          The angular unit of the distance measurment.
 double getAzimuthAngle()
          The azimuth angle of the distance measurement.
 double getAzimuthAngleUncertainty()
          The uncertainty of the azimuth angle measurement.
static java.lang.String getClsid()
          getClsid.
 double getDistanceMeasurement()
          The distance measurement.
 double getDistanceUncertainty()
          The uncertainty of the diatance measurement.
 double getElevationAngle()
          The elevation angle of the distance measurement.
 double getElevationAngleUncertainty()
          The uncertainty of the elevation angle measurement.
 double getHeightAtPoint1()
          The height measurement at the first point.
 double getHeightAtPoint2()
          The height measurement at the second point.
 double getHorizontalDistanceMeasurement()
          The horizontal distance measurement.
 double getHorizontalDistanceUncertainty()
          The horizontal distance measurement uncertainty.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLinearUnit()
          The linear unit of this distance measurment.
 double getVerticalDistanceMeasurement()
          The vertical distance measurement.
 double getVerticalDistanceUncertainty()
          The vertical distance measurement uncertainty.
 int hashCode()
          the hashcode for this object
 void release()
          Release a DistanceMeasurement.
 void reset()
          Resets all the properties of this IAngularMeasurement to their default values.
 void setAngularUnit(java.lang.String pAngularUnit)
          The angular unit of the distance measurment.
 void setAzimuthAngle(double pAzimuthAngle)
          The azimuth angle of the distance measurement.
 void setAzimuthAngleUncertainty(double pAzAngleUncertainty)
          The uncertainty of the azimuth angle measurement.
 void setDistanceMeasurement(double pDistMeasurement)
          The distance measurement.
 void setDistanceUncertainty(double pDistUncertainty)
          The uncertainty of the diatance measurement.
 void setElevationAngle(double pElevationAngle)
          The elevation angle of the distance measurement.
 void setElevationAngleUncertainty(double pElevAngleUncertainty)
          The uncertainty of the elevation angle measurement.
 void setHeightAtPoint1(double pHeightAtPoint1)
          The height measurement at the first point.
 void setHeightAtPoint2(double pHeightAtPoint2)
          The height measurement at the second point.
 void setHorizontalDistanceMeasurement(double pHorizDistMeasurement)
          The horizontal distance measurement.
 void setHorizontalDistanceUncertainty(double pHorizDistUncertainty)
          The horizontal distance measurement uncertainty.
 void setLinearUnit(java.lang.String pLinearUnit)
          The linear unit of this distance measurment.
 void setVerticalDistanceMeasurement(double pVertDistMeasurement)
          The vertical distance measurement.
 void setVerticalDistanceUncertainty(double pVertDistUncertainty)
          The vertical distance measurement uncertainty.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceMeasurement

public DistanceMeasurement()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a DistanceMeasurement using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DistanceMeasurement

public DistanceMeasurement(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DistanceMeasurement theDistanceMeasurement = (DistanceMeasurement) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DistanceMeasurement.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getAngularUnit

public java.lang.String getAngularUnit()
                                throws java.io.IOException,
                                       AutomationException
The angular unit of the distance measurment.

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

setAngularUnit

public void setAngularUnit(java.lang.String pAngularUnit)
                    throws java.io.IOException,
                           AutomationException
The angular unit of the distance measurment.

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

getAzimuthAngle

public double getAzimuthAngle()
                       throws java.io.IOException,
                              AutomationException
The azimuth angle of the distance measurement.

Specified by:
getAzimuthAngle in interface IDistanceMeasurement
Returns:
The pAzimuthAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuthAngle

public void setAzimuthAngle(double pAzimuthAngle)
                     throws java.io.IOException,
                            AutomationException
The azimuth angle of the distance measurement.

Specified by:
setAzimuthAngle in interface IDistanceMeasurement
Parameters:
pAzimuthAngle - The pAzimuthAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuthAngleUncertainty

public double getAzimuthAngleUncertainty()
                                  throws java.io.IOException,
                                         AutomationException
The uncertainty of the azimuth angle measurement.

Specified by:
getAzimuthAngleUncertainty in interface IDistanceMeasurement
Returns:
The pAzAngleUncertainty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuthAngleUncertainty

public void setAzimuthAngleUncertainty(double pAzAngleUncertainty)
                                throws java.io.IOException,
                                       AutomationException
The uncertainty of the azimuth angle measurement.

Specified by:
setAzimuthAngleUncertainty in interface IDistanceMeasurement
Parameters:
pAzAngleUncertainty - The pAzAngleUncertainty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistanceMeasurement

public double getDistanceMeasurement()
                              throws java.io.IOException,
                                     AutomationException
The distance measurement.

Specified by:
getDistanceMeasurement in interface IDistanceMeasurement
Returns:
The pDistMeasurement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDistanceMeasurement

public void setDistanceMeasurement(double pDistMeasurement)
                            throws java.io.IOException,
                                   AutomationException
The distance measurement.

Specified by:
setDistanceMeasurement in interface IDistanceMeasurement
Parameters:
pDistMeasurement - The pDistMeasurement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistanceUncertainty

public double getDistanceUncertainty()
                              throws java.io.IOException,
                                     AutomationException
The uncertainty of the diatance measurement.

Specified by:
getDistanceUncertainty in interface IDistanceMeasurement
Returns:
The pDistUncertainty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDistanceUncertainty

public void setDistanceUncertainty(double pDistUncertainty)
                            throws java.io.IOException,
                                   AutomationException
The uncertainty of the diatance measurement.

Specified by:
setDistanceUncertainty in interface IDistanceMeasurement
Parameters:
pDistUncertainty - The pDistUncertainty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElevationAngle

public double getElevationAngle()
                         throws java.io.IOException,
                                AutomationException
The elevation angle of the distance measurement.

Specified by:
getElevationAngle in interface IDistanceMeasurement
Returns:
The pElevationAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElevationAngle

public void setElevationAngle(double pElevationAngle)
                       throws java.io.IOException,
                              AutomationException
The elevation angle of the distance measurement.

Specified by:
setElevationAngle in interface IDistanceMeasurement
Parameters:
pElevationAngle - The pElevationAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElevationAngleUncertainty

public double getElevationAngleUncertainty()
                                    throws java.io.IOException,
                                           AutomationException
The uncertainty of the elevation angle measurement.

Specified by:
getElevationAngleUncertainty in interface IDistanceMeasurement
Returns:
The pElevAngleUncertainty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElevationAngleUncertainty

public void setElevationAngleUncertainty(double pElevAngleUncertainty)
                                  throws java.io.IOException,
                                         AutomationException
The uncertainty of the elevation angle measurement.

Specified by:
setElevationAngleUncertainty in interface IDistanceMeasurement
Parameters:
pElevAngleUncertainty - The pElevAngleUncertainty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightAtPoint1

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

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

setHeightAtPoint1

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

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

getHeightAtPoint2

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

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

setHeightAtPoint2

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

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

getHorizontalDistanceMeasurement

public double getHorizontalDistanceMeasurement()
                                        throws java.io.IOException,
                                               AutomationException
The horizontal distance measurement.

Specified by:
getHorizontalDistanceMeasurement in interface IDistanceMeasurement
Returns:
The pHorizDistMeasurement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHorizontalDistanceMeasurement

public void setHorizontalDistanceMeasurement(double pHorizDistMeasurement)
                                      throws java.io.IOException,
                                             AutomationException
The horizontal distance measurement.

Specified by:
setHorizontalDistanceMeasurement in interface IDistanceMeasurement
Parameters:
pHorizDistMeasurement - The pHorizDistMeasurement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizontalDistanceUncertainty

public double getHorizontalDistanceUncertainty()
                                        throws java.io.IOException,
                                               AutomationException
The horizontal distance measurement uncertainty.

Specified by:
getHorizontalDistanceUncertainty in interface IDistanceMeasurement
Returns:
The pHorizDistUncertainty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHorizontalDistanceUncertainty

public void setHorizontalDistanceUncertainty(double pHorizDistUncertainty)
                                      throws java.io.IOException,
                                             AutomationException
The horizontal distance measurement uncertainty.

Specified by:
setHorizontalDistanceUncertainty in interface IDistanceMeasurement
Parameters:
pHorizDistUncertainty - The pHorizDistUncertainty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinearUnit

public java.lang.String getLinearUnit()
                               throws java.io.IOException,
                                      AutomationException
The linear unit of this distance measurment.

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

setLinearUnit

public void setLinearUnit(java.lang.String pLinearUnit)
                   throws java.io.IOException,
                          AutomationException
The linear unit of this distance measurment.

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

reset

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

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

getVerticalDistanceMeasurement

public double getVerticalDistanceMeasurement()
                                      throws java.io.IOException,
                                             AutomationException
The vertical distance measurement.

Specified by:
getVerticalDistanceMeasurement in interface IDistanceMeasurement
Returns:
The pVertDistMeasurement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalDistanceMeasurement

public void setVerticalDistanceMeasurement(double pVertDistMeasurement)
                                    throws java.io.IOException,
                                           AutomationException
The vertical distance measurement.

Specified by:
setVerticalDistanceMeasurement in interface IDistanceMeasurement
Parameters:
pVertDistMeasurement - The pVertDistMeasurement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerticalDistanceUncertainty

public double getVerticalDistanceUncertainty()
                                      throws java.io.IOException,
                                             AutomationException
The vertical distance measurement uncertainty.

Specified by:
getVerticalDistanceUncertainty in interface IDistanceMeasurement
Returns:
The pVertDistUncertainty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalDistanceUncertainty

public void setVerticalDistanceUncertainty(double pVertDistUncertainty)
                                    throws java.io.IOException,
                                           AutomationException
The vertical distance measurement uncertainty.

Specified by:
setVerticalDistanceUncertainty in interface IDistanceMeasurement
Parameters:
pVertDistUncertainty - The pVertDistUncertainty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.