com.esri.arcgis.geodatabaseextensions
Class LasClassCodeStatistics

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.LasClassCodeStatistics
All Implemented Interfaces:
ILasClassCodeStatistics, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class LasClassCodeStatistics
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILasClassCodeStatistics

Esri LasClassCodeStatistics object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
LasClassCodeStatistics(Object obj)
          Construct a LasClassCodeStatistics using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int getClassCode()
          The class code associated with the statistics.
 IEnvelope getExtent()
          The XYZ extent of points associated with this class code (excluding withheld points).
 void getIntensityRange(int[] pMin, int[] pMax)
          The minimum and maximum intensity values associated with this class code (excluding withheld points).
 double getKeyPointCount()
          The number of Key points associated with this class code.
 double getPointCount()
          The number of points associated with this class code (excluding withheld points).
 double getSyntheticPointCount()
          The number of Synthetic points associated with this class code.
 int hashCode()
          the hashcode for this object
 
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

LasClassCodeStatistics

public LasClassCodeStatistics(Object obj)
                       throws IOException
Construct a LasClassCodeStatistics using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LasClassCodeStatistics.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
LasClassCodeStatistics o = (LasClassCodeStatistics)obj; // will not work

LasClassCodeStatistics o = new LasClassCodeStatistics(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems LasClassCodeStatistics theLasClassCodeStatistics = (LasClassCodeStatistics) obj;
Method Detail

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

getClassCode

public int getClassCode()
                 throws IOException,
                        AutomationException
The class code associated with the statistics.

Description

The class code these statistics are associated with.

Product Availability

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

Specified by:
getClassCode in interface ILasClassCodeStatistics
Returns:
The pCode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointCount

public double getPointCount()
                     throws IOException,
                            AutomationException
The number of points associated with this class code (excluding withheld points).

Description

Number of points with the class code value these statistics are associated with. This count does not include points that are flagged as 'withheld'.

Product Availability

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

Specified by:
getPointCount in interface ILasClassCodeStatistics
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSyntheticPointCount

public double getSyntheticPointCount()
                              throws IOException,
                                     AutomationException
The number of Synthetic points associated with this class code.

Description

The number of synthetic points that are associated with this class code value.

Product Availability

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

Specified by:
getSyntheticPointCount in interface ILasClassCodeStatistics
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeyPointCount

public double getKeyPointCount()
                        throws IOException,
                               AutomationException
The number of Key points associated with this class code.

Description

The number of key points that are associated with this class code value.

Product Availability

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

Specified by:
getKeyPointCount in interface ILasClassCodeStatistics
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws IOException,
                           AutomationException
The XYZ extent of points associated with this class code (excluding withheld points).

Description

The XYZ extent of the selected lidar return type. Withheld points, as defined by the LAS specification, are not taken into consideration.

Product Availability

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

Specified by:
getExtent in interface ILasClassCodeStatistics
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIntensityRange

public void getIntensityRange(int[] pMin,
                              int[] pMax)
                       throws IOException,
                              AutomationException
The minimum and maximum intensity values associated with this class code (excluding withheld points).

Description

Retrieves the minimum and maximum intensity values associated with this class code. Points flagged as 'withheld' are ignored.

pMin is the minimum intensity value

pMax is the maximum intensity value

Product Availability

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

Specified by:
getIntensityRange in interface ILasClassCodeStatistics
Parameters:
pMin - The pMin (out: use single element array)
pMax - The pMax (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.