com.esri.arcgis.datasourcesraster
Class PolygonMeasurement

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

public class PolygonMeasurement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPolygonMeasurement

Implements interface IPolygonMeasurement (polygon measurement and its associated uncertainty information).

Product Availability

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

See Also:
Serialized Form

Constructor Summary
PolygonMeasurement()
          Constructs a PolygonMeasurement using ArcGIS Engine.
PolygonMeasurement(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PolygonMeasurement thePolygonMeasurement = (PolygonMeasurement) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 double getAreaMeasurement()
          The area measurement.
 double getAreaUncertainty()
          The area measurement uncertainty.
static String getClsid()
          getClsid.
 String getLinearUnit()
          The linear unit of this area measurment.
 double getPerimeterMeasurement()
          The perimeter measurement.
 double getPerimeterUncertainty()
          The perimeter measurement uncertainty.
 int hashCode()
          the hashcode for this object
 void reset()
          Resets all the properties of this IPolygonMeasurement to their default values.
 void setAreaMeasurement(double areaMeasurement)
          The area measurement.
 void setAreaUncertainty(double areaUncertainty)
          The area measurement uncertainty.
 void setLinearUnit(String pLinearUnit)
          The linear unit of this area measurment.
 void setPerimeterMeasurement(double perimeterMeasurement)
          The perimeter measurement.
 void setPerimeterUncertainty(double perimeterUncertainty)
          The perimeter measurement uncertainty.
 
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

PolygonMeasurement

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

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

PolygonMeasurement

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

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

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

getAreaMeasurement

public double getAreaMeasurement()
                          throws IOException,
                                 AutomationException
The area measurement.

Product Availability

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

Specified by:
getAreaMeasurement in interface IPolygonMeasurement
Returns:
The areaMeasurement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAreaMeasurement

public void setAreaMeasurement(double areaMeasurement)
                        throws IOException,
                               AutomationException
The area measurement.

Product Availability

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

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

getAreaUncertainty

public double getAreaUncertainty()
                          throws IOException,
                                 AutomationException
The area measurement uncertainty.

Product Availability

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

Specified by:
getAreaUncertainty in interface IPolygonMeasurement
Returns:
The areaUncertainty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAreaUncertainty

public void setAreaUncertainty(double areaUncertainty)
                        throws IOException,
                               AutomationException
The area measurement uncertainty.

Product Availability

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

Specified by:
setAreaUncertainty in interface IPolygonMeasurement
Parameters:
areaUncertainty - The areaUncertainty (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 area measurment.

Product Availability

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

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

Product Availability

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

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

getPerimeterMeasurement

public double getPerimeterMeasurement()
                               throws IOException,
                                      AutomationException
The perimeter measurement.

Product Availability

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

Specified by:
getPerimeterMeasurement in interface IPolygonMeasurement
Returns:
The perimeterMeasurement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPerimeterMeasurement

public void setPerimeterMeasurement(double perimeterMeasurement)
                             throws IOException,
                                    AutomationException
The perimeter measurement.

Product Availability

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

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

getPerimeterUncertainty

public double getPerimeterUncertainty()
                               throws IOException,
                                      AutomationException
The perimeter measurement uncertainty.

Product Availability

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

Specified by:
getPerimeterUncertainty in interface IPolygonMeasurement
Returns:
The perimeterUncertainty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPerimeterUncertainty

public void setPerimeterUncertainty(double perimeterUncertainty)
                             throws IOException,
                                    AutomationException
The perimeter measurement uncertainty.

Product Availability

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

Specified by:
setPerimeterUncertainty in interface IPolygonMeasurement
Parameters:
perimeterUncertainty - The perimeterUncertainty (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 IPolygonMeasurement to their default values.

Product Availability

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

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