|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.LasStatistics
public class LasStatistics
Esri LasStatistics object.
Constructor Summary | |
---|---|
LasStatistics(Object obj)
Construct a LasStatistics using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
ISimpleStatistics |
getAttributeStatistics(int attribute)
Get statistics of the specified LAS attribute. |
ILasClassCodeStatistics |
getClassCodeStatistics(int classCode)
Get statistics associated with the specified class code. |
ILasReturnStatistics |
getReturnStatistics(int type)
Get statistics associated with the specified return type. |
ILongArray |
getUniqueClassCodes()
Get unique class codes. |
ILongArray |
getUniqueReturns()
Get unique returns (as esriTerrainLasReturnType). |
IEnvelope |
getWithheldExtent()
The XYZ extent of withheld points. |
double |
getWithheldPointCount()
The number of withheld points. |
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 |
---|
public LasStatistics(Object obj) throws IOException
obj
to LasStatistics
. *
LasStatistics o = (LasStatistics)obj; // will not work
LasStatistics o = new LasStatistics(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
LasStatistics theLasStatistics = (LasStatistics) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public double getWithheldPointCount() throws IOException, AutomationException
Returns the number of points flagged as withheld in the file/dataset. Withheld points are those identified using the bit field encoding scheme laid out in the LAS Specification. Generally, these points are intended to be excluded from use.
getWithheldPointCount
in interface ILasStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getWithheldExtent() throws IOException, AutomationException
Returns the XYZ extent of points flagged as withheld in the file/dataset. Withheld points are those identified using the bit field encoding scheme laid out in the LAS Specification. Generally, these points are intended to be excluded from use. The envelope will be empty (IEnvelope.IsEmpty == TRUE) if there are no withheld points.
getWithheldExtent
in interface ILasStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISimpleStatistics getAttributeStatistics(int attribute) throws IOException, AutomationException
Returns the LasAttributeStatistics for the specified attribute.
getAttributeStatistics
in interface ILasStatistics
attribute
- A com.esri.arcgis.geodatabaseextensions.esriLasAttributeType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray getUniqueReturns() throws IOException, AutomationException
Returns an ILongArray of esriTerrainLasReturnType. The number of entries in the array will equal the number of return types present in the file/dataset. These include the returns with explicit return numbers (i.e., returns 1-5) plus those which are inferred by comparing the return number for a point to the total returns for the pulse associated with the point (e.g., to derive first of many, last of many, single, etc.).
Note:
Some LAS files in the wild have been found to contain returns numbered "0". These are not valid returns but if they exist in the file they will be reported in the LongArray with a value of "0". Their presence will induce the addition of others like esriTerrainLasReturnLast (for point records that have both return number and number of returns set to 0) and esriTerrainLasReturnAll.
getUniqueReturns
in interface ILasStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray getUniqueClassCodes() throws IOException, AutomationException
Returns an Array of LasClassCodeStatistics. The number of entries in the array will equal the number of classes present in the file/dataset.
getUniqueClassCodes
in interface ILasStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILasReturnStatistics getReturnStatistics(int type) throws IOException, AutomationException
Provides the LasReturnStatistics for the specified return type. NULL is returned if there are no points of the specified type.
Note:
Some LAS files in the wild have been found to contain returns numbered "0". These are not valid returns but you can check to see if they are present by passing a "0" for the return type instead of one of the esriTerrainLasReturnType values.
getReturnStatistics
in interface ILasStatistics
type
- A com.esri.arcgis.geodatabaseextensions.esriTerrainLasReturnType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILasClassCodeStatistics getClassCodeStatistics(int classCode) throws IOException, AutomationException
Returns the LasClassCodeStatistics for the specified class. The valid range for las class codes is 0-31 for LAS files rev 1.1 through 1.3. NULL is returned if there are no points with that class code.
getClassCodeStatistics
in interface ILasStatistics
classCode
- The classCode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |