com.esri.arcgis.datasourcesraster
Class Mensuration

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.Mensuration
All Implemented Interfaces:
IMensuration, IMensuration3D, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class Mensuration
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMensuration, IMensuration3D, ISupportErrorInfo

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

Description 'Implenments interface IMensuration to provide commercial basic mensuration services for the Esri Mensuration System.' 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.IMensuration
IID, IID63ae4f70_bf55_480e_b2e0_49c5528bc4f2, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IMensuration3D
IID, IID829a4f6b_a404_4590_ae37_1196af7ff6a0, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
Mensuration()
          Constructs a Mensuration using ArcGIS Engine.
Mensuration(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Mensuration theMensuration = (Mensuration) obj;
 
Method Summary
 void convertAngular(int fromUnit, int toUnit, double inputValue, double[] pOutputValue)
          Converts angular measurement from 'fromUnit' to 'toUnit.
 void convertArea(int fromUnit, int toUnit, double inputValue, double[] pOutputValue)
          Converts area measurement from 'fromUnit' to 'toUnit.
 java.lang.String convertDisplayCoordUnit(int desiredDisplayUnit, IPoint pGeographicPt)
          Gets different coordinate unit display representation for input point (latitude, longitude).
 void convertErrCovarianceUnits(int inHorizAngularUnit, int outHorizAngularUnit, int inHorizLinearUnit, int outHorizLinearUnit, int inVertUnit, int outVertUnit, int horizontalUnitType, IDoubleArray pCovariance)
          Converts the covariance matrix's units.
 void convertLinear(int fromUnit, int toUnit, double inputValue, double[] pOutputValue)
          Converts linear measurement from 'fromUnit' to 'toUnit.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getAngle3D(IPoint pFirstPoint, IPoint pSecondPoint, IAngularMeasurement[] ppAzimuthAngle, IAngularMeasurement[] ppElevationAngle)
          Computes the 3D angle of the line connecting the two input 2D map points.
 void getAreaAndPerimeter(IPolygon pPolygon, IPolygonMeasurement[] ppPolygonMeasurement)
          Computes the area and perimeter of a polygon with no interior holes.
 void getAreaAndPerimeter3D(IPolygon pPolygon, IPolygonMeasurement[] ppPolygonMeasurement)
          Computes the 3D area and perimeter of a 2D polygon with no interior holes.
 void getAzimuthAngle(IPoint pFirstPoint, IPoint pSecondPoint, IAngularMeasurement[] ppAngleMeasurement)
          Computes the azimuth angle of the line connecting the two input map points.
 void getCentroid(IPolygon pPolygon, IPointMeasurement[] ppPointMeasurement)
          Gets the coordinates of the centroid of a polygon and the associated error covariance matrix.
 void getCentroid3D(IPolygon pPolygon, IPointMeasurement[] ppPointMeasurement)
          Computes the 3D centroid of a 2D polygon with no interior holes..
static java.lang.String getClsid()
          getClsid.
 IDoubleArray getDefaultPointingErrCovariance()
          Default pointing error covariance matrix.
 IRaster getDEM()
          The DEM for the raster to be used for mensuration.
 double getDesiredPrecision()
          The iteration precision of the image-to-ground and ground-to-image calculations.
 void getDistance(IPoint pFirstPoint, IPoint pSecondPoint, IDistanceMeasurement[] ppDistMeasurement)
          Computes the actual distance between two points given their map points.
 void getDistance3D(IPoint pFirstPoint, IPoint pSecondPoint, IDistanceMeasurement[] ppDistMeasurement)
          Computes the 3D actual distance between two points given their 2D map points.
 void getHeightFromBaseAndTop(IPoint pBaseOfObject, IPoint pTopOfObject, IHeightMeasurement[] ppHtMeasurement)
          Estimates the height of an object given the base and the top map points of the object.
 void getHeightFromBaseAndTopShadow(IPoint pBaseOfObject, IPoint pTopShadowOfObject, IHeightMeasurement[] ppHtMeasurement)
          Estimates the height of an object given the map point of the object's base and the tip of the object's top shadow.
 void getHeightFromTopAndTopShadow(IPoint pTopOfObject, IPoint pTopShadowOfObject, IHeightMeasurement[] ppHtMeasurement)
          Estimates the height of an object given the top map point of the object and the tip of the object's top shadow.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of this IMensuration object.
 void getPoint(IPoint pPoint, IPointMeasurement[] ppPointMeasurement)
          Gets the coordinates of a map point and the associated error covariance matrix.
 void getPoint3D(IPoint pInPoint, IPointMeasurement[] ppPointMeasurement)
          Computes a 3D point given a 2D map points.
 java.lang.String getSensorModel()
          The name of the sensor model currently being used by this IMensuration object.
 IPropertySet getSensorModelProperties()
          The properties of the current sensor model.
 java.lang.Object getSensorModelProperty(java.lang.String propertyName)
          Gets a property value of the sensor model currently being used by this IMensuration.
 java.lang.String getTMName()
          The name of the TerrainModel used by this IMensuration object.
 java.lang.String getVersion()
          The version of this IMensuration.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanErrorPropagate()
          Indicates if the sensor model associated with the current image segment supports error propagation.
 boolean isCanMeasure()
          Indicates if the specified image segment can be used for mensuration.
 boolean isCanMeasure3D()
          Indicates if 3D mensuration is supported.
 boolean isCanMeasureHeightBaseToTop()
          Indicates if the sensor model associated with the current image segment supports height mensuration.
 boolean isCanMeasureHeightBaseToTopShadow()
          Indicates if the sensor model associated with the current image segment supports shadow mensuration.
 boolean isCanMeasureHeightTopToTopShadow()
          Indicates if the sensor model associated with the current image segment supports shadow mensuration.
 boolean isCanMeasureMonoscopic()
          Indicates if the sensor model associated with the current image segment supports monoscopic mensuration.
 boolean isCanMeasureMultiImages()
          Indicates if the sensor model associated with the current image segment supports multi-image mensuration.
 boolean isCanMeasureStereoscopic()
          Indicates if the sensor model associated with the current image segment supports stereoscopic mensuration.
 boolean isValid()
          Indicates if all the required system parameters and resources of this IMensuration have been successfully initialized.
 void putSensorModelProperty(java.lang.String propertyKey, java.lang.String propertyValue)
          Sets a property value of the sensor model.
 void putTerrainParameters(java.lang.String terrainModelDataSrc, java.lang.String terrainModelName)
          Sets the name of the terrain model and the associated terrain model data source information.
 void release()
          Release a Mensuration.
 void setDefaultPointingErrCovariance(IDoubleArray ppPointingErrCovMatrix)
          Default pointing error covariance matrix.
 void setDEMByRef(IRaster ppRaster)
          The DEM for the raster to be used for mensuration.
 void setDesiredPrecision(double pPrecision)
          The iteration precision of the image-to-ground and ground-to-image calculations.
 void setRasterByRef(IRaster rhs1)
          The raster object to be used for mensuration.
 void significantFigures(double measurementValue, double uncertainty, java.lang.String[] pMeasurement, java.lang.String[] pUncertainty)
          Truncates input mensuration and uncertainty values based on acceptable rules for reporting measurement and uncertianty values.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mensuration

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

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

Mensuration

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

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

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 Mensuration.

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

isCanErrorPropagate

public boolean isCanErrorPropagate()
                            throws java.io.IOException,
                                   AutomationException
Indicates if the sensor model associated with the current image segment supports error propagation.

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

isCanMeasure

public boolean isCanMeasure()
                     throws java.io.IOException,
                            AutomationException
Indicates if the specified image segment can be used for mensuration.

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

isCanMeasureHeightBaseToTop

public boolean isCanMeasureHeightBaseToTop()
                                    throws java.io.IOException,
                                           AutomationException
Indicates if the sensor model associated with the current image segment supports height mensuration.

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

isCanMeasureMonoscopic

public boolean isCanMeasureMonoscopic()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the sensor model associated with the current image segment supports monoscopic mensuration.

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

isCanMeasureMultiImages

public boolean isCanMeasureMultiImages()
                                throws java.io.IOException,
                                       AutomationException
Indicates if the sensor model associated with the current image segment supports multi-image mensuration.

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

isCanMeasureHeightTopToTopShadow

public boolean isCanMeasureHeightTopToTopShadow()
                                         throws java.io.IOException,
                                                AutomationException
Indicates if the sensor model associated with the current image segment supports shadow mensuration.

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

isCanMeasureHeightBaseToTopShadow

public boolean isCanMeasureHeightBaseToTopShadow()
                                          throws java.io.IOException,
                                                 AutomationException
Indicates if the sensor model associated with the current image segment supports shadow mensuration.

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

isCanMeasureStereoscopic

public boolean isCanMeasureStereoscopic()
                                 throws java.io.IOException,
                                        AutomationException
Indicates if the sensor model associated with the current image segment supports stereoscopic mensuration.

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

convertAngular

public void convertAngular(int fromUnit,
                           int toUnit,
                           double inputValue,
                           double[] pOutputValue)
                    throws java.io.IOException,
                           AutomationException
Converts angular measurement from 'fromUnit' to 'toUnit.

Specified by:
convertAngular in interface IMensuration
Parameters:
fromUnit - A com.esri.arcgis.system.esriDirectionUnits constant (in)
toUnit - A com.esri.arcgis.system.esriDirectionUnits constant (in)
inputValue - The inputValue (in)
pOutputValue - The pOutputValue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertArea

public void convertArea(int fromUnit,
                        int toUnit,
                        double inputValue,
                        double[] pOutputValue)
                 throws java.io.IOException,
                        AutomationException
Converts area measurement from 'fromUnit' to 'toUnit.

Specified by:
convertArea in interface IMensuration
Parameters:
fromUnit - A com.esri.arcgis.system.esriAreaUnits constant (in)
toUnit - A com.esri.arcgis.system.esriAreaUnits constant (in)
inputValue - The inputValue (in)
pOutputValue - The pOutputValue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertDisplayCoordUnit

public java.lang.String convertDisplayCoordUnit(int desiredDisplayUnit,
                                                IPoint pGeographicPt)
                                         throws java.io.IOException,
                                                AutomationException
Gets different coordinate unit display representation for input point (latitude, longitude).

Specified by:
convertDisplayCoordUnit in interface IMensuration
Parameters:
desiredDisplayUnit - A com.esri.arcgis.datasourcesraster.esriDisplayCoordUnitType constant (in)
pGeographicPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pDisplayUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertLinear

public void convertLinear(int fromUnit,
                          int toUnit,
                          double inputValue,
                          double[] pOutputValue)
                   throws java.io.IOException,
                          AutomationException
Converts linear measurement from 'fromUnit' to 'toUnit.

Specified by:
convertLinear in interface IMensuration
Parameters:
fromUnit - A com.esri.arcgis.system.esriUnits constant (in)
toUnit - A com.esri.arcgis.system.esriUnits constant (in)
inputValue - The inputValue (in)
pOutputValue - The pOutputValue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertErrCovarianceUnits

public void convertErrCovarianceUnits(int inHorizAngularUnit,
                                      int outHorizAngularUnit,
                                      int inHorizLinearUnit,
                                      int outHorizLinearUnit,
                                      int inVertUnit,
                                      int outVertUnit,
                                      int horizontalUnitType,
                                      IDoubleArray pCovariance)
                               throws java.io.IOException,
                                      AutomationException
Converts the covariance matrix's units.

Specified by:
convertErrCovarianceUnits in interface IMensuration
Parameters:
inHorizAngularUnit - A com.esri.arcgis.system.esriDirectionUnits constant (in)
outHorizAngularUnit - A com.esri.arcgis.system.esriDirectionUnits constant (in)
inHorizLinearUnit - A com.esri.arcgis.system.esriUnits constant (in)
outHorizLinearUnit - A com.esri.arcgis.system.esriUnits constant (in)
inVertUnit - A com.esri.arcgis.system.esriUnits constant (in)
outVertUnit - A com.esri.arcgis.system.esriUnits constant (in)
horizontalUnitType - The horizontalUnitType (in)
pCovariance - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultPointingErrCovariance

public IDoubleArray getDefaultPointingErrCovariance()
                                             throws java.io.IOException,
                                                    AutomationException
Default pointing error covariance matrix.

Specified by:
getDefaultPointingErrCovariance in interface IMensuration
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultPointingErrCovariance

public void setDefaultPointingErrCovariance(IDoubleArray ppPointingErrCovMatrix)
                                     throws java.io.IOException,
                                            AutomationException
Default pointing error covariance matrix.

Specified by:
setDefaultPointingErrCovariance in interface IMensuration
Parameters:
ppPointingErrCovMatrix - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDEM

public IRaster getDEM()
               throws java.io.IOException,
                      AutomationException
The DEM for the raster to be used for mensuration.

Specified by:
getDEM in interface IMensuration
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDEMByRef

public void setDEMByRef(IRaster ppRaster)
                 throws java.io.IOException,
                        AutomationException
The DEM for the raster to be used for mensuration.

Specified by:
setDEMByRef in interface IMensuration
Parameters:
ppRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDesiredPrecision

public double getDesiredPrecision()
                           throws java.io.IOException,
                                  AutomationException
The iteration precision of the image-to-ground and ground-to-image calculations.

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

setDesiredPrecision

public void setDesiredPrecision(double pPrecision)
                         throws java.io.IOException,
                                AutomationException
The iteration precision of the image-to-ground and ground-to-image calculations.

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

getAreaAndPerimeter

public void getAreaAndPerimeter(IPolygon pPolygon,
                                IPolygonMeasurement[] ppPolygonMeasurement)
                         throws java.io.IOException,
                                AutomationException
Computes the area and perimeter of a polygon with no interior holes.

Specified by:
getAreaAndPerimeter in interface IMensuration
Parameters:
pPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
ppPolygonMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPolygonMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuthAngle

public void getAzimuthAngle(IPoint pFirstPoint,
                            IPoint pSecondPoint,
                            IAngularMeasurement[] ppAngleMeasurement)
                     throws java.io.IOException,
                            AutomationException
Computes the azimuth angle of the line connecting the two input map points.

Specified by:
getAzimuthAngle in interface IMensuration
Parameters:
pFirstPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pSecondPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppAngleMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IAngularMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentroid

public void getCentroid(IPolygon pPolygon,
                        IPointMeasurement[] ppPointMeasurement)
                 throws java.io.IOException,
                        AutomationException
Gets the coordinates of the centroid of a polygon and the associated error covariance matrix.

Specified by:
getCentroid in interface IMensuration
Parameters:
pPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
ppPointMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistance

public void getDistance(IPoint pFirstPoint,
                        IPoint pSecondPoint,
                        IDistanceMeasurement[] ppDistMeasurement)
                 throws java.io.IOException,
                        AutomationException
Computes the actual distance between two points given their map points.

Specified by:
getDistance in interface IMensuration
Parameters:
pFirstPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pSecondPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppDistMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IDistanceMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightFromBaseAndTop

public void getHeightFromBaseAndTop(IPoint pBaseOfObject,
                                    IPoint pTopOfObject,
                                    IHeightMeasurement[] ppHtMeasurement)
                             throws java.io.IOException,
                                    AutomationException
Estimates the height of an object given the base and the top map points of the object.

Specified by:
getHeightFromBaseAndTop in interface IMensuration
Parameters:
pBaseOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTopOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppHtMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightFromBaseAndTopShadow

public void getHeightFromBaseAndTopShadow(IPoint pBaseOfObject,
                                          IPoint pTopShadowOfObject,
                                          IHeightMeasurement[] ppHtMeasurement)
                                   throws java.io.IOException,
                                          AutomationException
Estimates the height of an object given the map point of the object's base and the tip of the object's top shadow.

Specified by:
getHeightFromBaseAndTopShadow in interface IMensuration
Parameters:
pBaseOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTopShadowOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppHtMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeightFromTopAndTopShadow

public void getHeightFromTopAndTopShadow(IPoint pTopOfObject,
                                         IPoint pTopShadowOfObject,
                                         IHeightMeasurement[] ppHtMeasurement)
                                  throws java.io.IOException,
                                         AutomationException
Estimates the height of an object given the top map point of the object and the tip of the object's top shadow.

Specified by:
getHeightFromTopAndTopShadow in interface IMensuration
Parameters:
pTopOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTopShadowOfObject - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppHtMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPoint

public void getPoint(IPoint pPoint,
                     IPointMeasurement[] ppPointMeasurement)
              throws java.io.IOException,
                     AutomationException
Gets the coordinates of a map point and the associated error covariance matrix.

Specified by:
getPoint in interface IMensuration
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppPointMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSensorModelProperty

public java.lang.Object getSensorModelProperty(java.lang.String propertyName)
                                        throws java.io.IOException,
                                               AutomationException
Gets a property value of the sensor model currently being used by this IMensuration.

Specified by:
getSensorModelProperty in interface IMensuration
Parameters:
propertyName - The propertyName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of this IMensuration object.

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

putSensorModelProperty

public void putSensorModelProperty(java.lang.String propertyKey,
                                   java.lang.String propertyValue)
                            throws java.io.IOException,
                                   AutomationException
Sets a property value of the sensor model.

Specified by:
putSensorModelProperty in interface IMensuration
Parameters:
propertyKey - The propertyKey (in)
propertyValue - The propertyValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putTerrainParameters

public void putTerrainParameters(java.lang.String terrainModelDataSrc,
                                 java.lang.String terrainModelName)
                          throws java.io.IOException,
                                 AutomationException
Sets the name of the terrain model and the associated terrain model data source information.

Specified by:
putTerrainParameters in interface IMensuration
Parameters:
terrainModelDataSrc - The terrainModelDataSrc (in)
terrainModelName - The terrainModelName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterByRef

public void setRasterByRef(IRaster rhs1)
                    throws java.io.IOException,
                           AutomationException
The raster object to be used for mensuration.

Specified by:
setRasterByRef in interface IMensuration
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSensorModel

public java.lang.String getSensorModel()
                                throws java.io.IOException,
                                       AutomationException
The name of the sensor model currently being used by this IMensuration object.

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

getSensorModelProperties

public IPropertySet getSensorModelProperties()
                                      throws java.io.IOException,
                                             AutomationException
The properties of the current sensor model.

Specified by:
getSensorModelProperties in interface IMensuration
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

significantFigures

public void significantFigures(double measurementValue,
                               double uncertainty,
                               java.lang.String[] pMeasurement,
                               java.lang.String[] pUncertainty)
                        throws java.io.IOException,
                               AutomationException
Truncates input mensuration and uncertainty values based on acceptable rules for reporting measurement and uncertianty values.

Specified by:
significantFigures in interface IMensuration
Parameters:
measurementValue - The measurementValue (in)
uncertainty - The uncertainty (in)
pMeasurement - The pMeasurement (out: use single element array)
pUncertainty - The pUncertainty (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTMName

public java.lang.String getTMName()
                           throws java.io.IOException,
                                  AutomationException
The name of the TerrainModel used by this IMensuration object.

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

isValid

public boolean isValid()
                throws java.io.IOException,
                       AutomationException
Indicates if all the required system parameters and resources of this IMensuration have been successfully initialized.

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

getVersion

public java.lang.String getVersion()
                            throws java.io.IOException,
                                   AutomationException
The version of this IMensuration.

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

isCanMeasure3D

public boolean isCanMeasure3D()
                       throws java.io.IOException,
                              AutomationException
Indicates if 3D mensuration is supported.

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

getPoint3D

public void getPoint3D(IPoint pInPoint,
                       IPointMeasurement[] ppPointMeasurement)
                throws java.io.IOException,
                       AutomationException
Computes a 3D point given a 2D map points.

Specified by:
getPoint3D in interface IMensuration3D
Parameters:
pInPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppPointMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentroid3D

public void getCentroid3D(IPolygon pPolygon,
                          IPointMeasurement[] ppPointMeasurement)
                   throws java.io.IOException,
                          AutomationException
Computes the 3D centroid of a 2D polygon with no interior holes..

Specified by:
getCentroid3D in interface IMensuration3D
Parameters:
pPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
ppPointMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistance3D

public void getDistance3D(IPoint pFirstPoint,
                          IPoint pSecondPoint,
                          IDistanceMeasurement[] ppDistMeasurement)
                   throws java.io.IOException,
                          AutomationException
Computes the 3D actual distance between two points given their 2D map points.

Specified by:
getDistance3D in interface IMensuration3D
Parameters:
pFirstPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pSecondPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppDistMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IDistanceMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle3D

public void getAngle3D(IPoint pFirstPoint,
                       IPoint pSecondPoint,
                       IAngularMeasurement[] ppAzimuthAngle,
                       IAngularMeasurement[] ppElevationAngle)
                throws java.io.IOException,
                       AutomationException
Computes the 3D angle of the line connecting the two input 2D map points.

Specified by:
getAngle3D in interface IMensuration3D
Parameters:
pFirstPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pSecondPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppAzimuthAngle - A reference to a com.esri.arcgis.datasourcesraster.IAngularMeasurement (out: use single element array)
ppElevationAngle - A reference to a com.esri.arcgis.datasourcesraster.IAngularMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAreaAndPerimeter3D

public void getAreaAndPerimeter3D(IPolygon pPolygon,
                                  IPolygonMeasurement[] ppPolygonMeasurement)
                           throws java.io.IOException,
                                  AutomationException
Computes the 3D area and perimeter of a 2D polygon with no interior holes.

Specified by:
getAreaAndPerimeter3D in interface IMensuration3D
Parameters:
pPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
ppPolygonMeasurement - A reference to a com.esri.arcgis.datasourcesraster.IPolygonMeasurement (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.