com.esri.arcgis.datasourcesraster
Class PointMeasurement

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

public class PointMeasurement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPointMeasurement

Implements interface IPointMeasurement (point measurement with the associated error covariance matrix).

Product Availability

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

See Also:
Serialized Form

Constructor Summary
PointMeasurement()
          Constructs a PointMeasurement using ArcGIS Engine.
PointMeasurement(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PointMeasurement thePointMeasurement = (PointMeasurement) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IDoubleArray getErrorCovarianceMatrix()
          The error covariance matrix that is associated with this IPointMeasurement.
 String getHorizontalUnit()
          The unit of the horizontal axes for this IPointMeasurement.
 String getVerticalUnit()
          The unit of the vertical axis for this IPointMeasurement.
 double getXCoordinate()
          The X or longitude measurement.
 double getYCoordinate()
          The Y or latitude measurement.
 double getZCoordinate()
          The Z or orthometric height measurement.
 int hashCode()
          the hashcode for this object
 boolean isHorizontalUnitLinear()
          Indicates if the unit of the horizontal axes is a linear unit.
 void reset()
          Resets all the properties of this IPointMeasurement to their default values.
 void setErrorCovarianceMatrix(IDoubleArray ppErrorCovMatrix)
          The error covariance matrix that is associated with this IPointMeasurement.
 void setHorizontalUnit(String pHorizontalUnit)
          The unit of the horizontal axes for this IPointMeasurement.
 void setVerticalUnit(String pVeritcalUnit)
          The unit of the vertical axis for this IPointMeasurement.
 void setXCoordinate(double pXCoordinate)
          The X or longitude measurement.
 void setYCoordinate(double pYCoordinate)
          The Y or latitude measurement.
 void setZCoordinate(double pZCoordinate)
          The Z or orthometric height measurement.
 
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

PointMeasurement

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

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

PointMeasurement

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

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

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

getErrorCovarianceMatrix

public IDoubleArray getErrorCovarianceMatrix()
                                      throws IOException,
                                             AutomationException
The error covariance matrix that is associated with this IPointMeasurement.

Product Availability

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

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

setErrorCovarianceMatrix

public void setErrorCovarianceMatrix(IDoubleArray ppErrorCovMatrix)
                              throws IOException,
                                     AutomationException
The error covariance matrix that is associated with this IPointMeasurement.

Product Availability

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

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

getHorizontalUnit

public String getHorizontalUnit()
                         throws IOException,
                                AutomationException
The unit of the horizontal axes for this IPointMeasurement.

Product Availability

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

Specified by:
getHorizontalUnit in interface IPointMeasurement
Returns:
The pHorizontalUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHorizontalUnit

public void setHorizontalUnit(String pHorizontalUnit)
                       throws IOException,
                              AutomationException
The unit of the horizontal axes for this IPointMeasurement.

Product Availability

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

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

isHorizontalUnitLinear

public boolean isHorizontalUnitLinear()
                               throws IOException,
                                      AutomationException
Indicates if the unit of the horizontal axes is a linear unit.

Product Availability

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

Specified by:
isHorizontalUnitLinear in interface IPointMeasurement
Returns:
The pIsLinearUnit
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 IPointMeasurement to their default values.

Product Availability

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

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

getVerticalUnit

public String getVerticalUnit()
                       throws IOException,
                              AutomationException
The unit of the vertical axis for this IPointMeasurement.

Product Availability

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

Specified by:
getVerticalUnit in interface IPointMeasurement
Returns:
The pVeritcalUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalUnit

public void setVerticalUnit(String pVeritcalUnit)
                     throws IOException,
                            AutomationException
The unit of the vertical axis for this IPointMeasurement.

Product Availability

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

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

getXCoordinate

public double getXCoordinate()
                      throws IOException,
                             AutomationException
The X or longitude measurement.

Product Availability

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

Specified by:
getXCoordinate in interface IPointMeasurement
Returns:
The pXCoordinate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXCoordinate

public void setXCoordinate(double pXCoordinate)
                    throws IOException,
                           AutomationException
The X or longitude measurement.

Product Availability

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

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

getYCoordinate

public double getYCoordinate()
                      throws IOException,
                             AutomationException
The Y or latitude measurement.

Product Availability

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

Specified by:
getYCoordinate in interface IPointMeasurement
Returns:
The pYCoordinate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYCoordinate

public void setYCoordinate(double pYCoordinate)
                    throws IOException,
                           AutomationException
The Y or latitude measurement.

Product Availability

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

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

getZCoordinate

public double getZCoordinate()
                      throws IOException,
                             AutomationException
The Z or orthometric height measurement.

Product Availability

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

Specified by:
getZCoordinate in interface IPointMeasurement
Returns:
The pZCoordinate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZCoordinate

public void setZCoordinate(double pZCoordinate)
                    throws IOException,
                           AutomationException
The Z or orthometric height measurement.

Product Availability

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

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