public class DistanceMeasurement extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDistanceMeasurement
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 =
IID, IIDc997d6a9_2b49_42da_97dd_34eb32a14a02, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public DistanceMeasurement() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic DistanceMeasurement(java.lang.Object obj) throws java.io.IOException
DistanceMeasurement theDistanceMeasurement = (DistanceMeasurement) obj;
obj
to DistanceMeasurement
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getAngularUnit() throws java.io.IOException, AutomationException
getAngularUnit
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAngularUnit(java.lang.String pAngularUnit) throws java.io.IOException, AutomationException
setAngularUnit
in interface IDistanceMeasurement
pAngularUnit
- The pAngularUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getAzimuthAngle() throws java.io.IOException, AutomationException
getAzimuthAngle
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAzimuthAngle(double pAzimuthAngle) throws java.io.IOException, AutomationException
setAzimuthAngle
in interface IDistanceMeasurement
pAzimuthAngle
- The pAzimuthAngle (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getAzimuthAngleUncertainty() throws java.io.IOException, AutomationException
getAzimuthAngleUncertainty
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAzimuthAngleUncertainty(double pAzAngleUncertainty) throws java.io.IOException, AutomationException
setAzimuthAngleUncertainty
in interface IDistanceMeasurement
pAzAngleUncertainty
- The pAzAngleUncertainty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getDistanceMeasurement() throws java.io.IOException, AutomationException
getDistanceMeasurement
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDistanceMeasurement(double pDistMeasurement) throws java.io.IOException, AutomationException
setDistanceMeasurement
in interface IDistanceMeasurement
pDistMeasurement
- The pDistMeasurement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getDistanceUncertainty() throws java.io.IOException, AutomationException
getDistanceUncertainty
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDistanceUncertainty(double pDistUncertainty) throws java.io.IOException, AutomationException
setDistanceUncertainty
in interface IDistanceMeasurement
pDistUncertainty
- The pDistUncertainty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getElevationAngle() throws java.io.IOException, AutomationException
getElevationAngle
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setElevationAngle(double pElevationAngle) throws java.io.IOException, AutomationException
setElevationAngle
in interface IDistanceMeasurement
pElevationAngle
- The pElevationAngle (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getElevationAngleUncertainty() throws java.io.IOException, AutomationException
getElevationAngleUncertainty
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setElevationAngleUncertainty(double pElevAngleUncertainty) throws java.io.IOException, AutomationException
setElevationAngleUncertainty
in interface IDistanceMeasurement
pElevAngleUncertainty
- The pElevAngleUncertainty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getHeightAtPoint1() throws java.io.IOException, AutomationException
getHeightAtPoint1
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHeightAtPoint1(double pHeightAtPoint1) throws java.io.IOException, AutomationException
setHeightAtPoint1
in interface IDistanceMeasurement
pHeightAtPoint1
- The pHeightAtPoint1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getHeightAtPoint2() throws java.io.IOException, AutomationException
getHeightAtPoint2
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHeightAtPoint2(double pHeightAtPoint2) throws java.io.IOException, AutomationException
setHeightAtPoint2
in interface IDistanceMeasurement
pHeightAtPoint2
- The pHeightAtPoint2 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getHorizontalDistanceMeasurement() throws java.io.IOException, AutomationException
getHorizontalDistanceMeasurement
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHorizontalDistanceMeasurement(double pHorizDistMeasurement) throws java.io.IOException, AutomationException
setHorizontalDistanceMeasurement
in interface IDistanceMeasurement
pHorizDistMeasurement
- The pHorizDistMeasurement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getHorizontalDistanceUncertainty() throws java.io.IOException, AutomationException
getHorizontalDistanceUncertainty
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHorizontalDistanceUncertainty(double pHorizDistUncertainty) throws java.io.IOException, AutomationException
setHorizontalDistanceUncertainty
in interface IDistanceMeasurement
pHorizDistUncertainty
- The pHorizDistUncertainty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLinearUnit() throws java.io.IOException, AutomationException
getLinearUnit
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLinearUnit(java.lang.String pLinearUnit) throws java.io.IOException, AutomationException
setLinearUnit
in interface IDistanceMeasurement
pLinearUnit
- The pLinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getVerticalDistanceMeasurement() throws java.io.IOException, AutomationException
getVerticalDistanceMeasurement
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVerticalDistanceMeasurement(double pVertDistMeasurement) throws java.io.IOException, AutomationException
setVerticalDistanceMeasurement
in interface IDistanceMeasurement
pVertDistMeasurement
- The pVertDistMeasurement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getVerticalDistanceUncertainty() throws java.io.IOException, AutomationException
getVerticalDistanceUncertainty
in interface IDistanceMeasurement
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVerticalDistanceUncertainty(double pVertDistUncertainty) throws java.io.IOException, AutomationException
setVerticalDistanceUncertainty
in interface IDistanceMeasurement
pVertDistUncertainty
- The pVertDistUncertainty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.