|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILasStatistics
Provides access to members of LasFile.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISimpleStatistics getAttributeStatistics(int attribute) throws IOException, AutomationException
Returns the LasAttributeStatistics for the specified attribute.
attribute
- A com.esri.arcgis.geodatabaseextensions.esriLasAttributeType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
type
- A com.esri.arcgis.geodatabaseextensions.esriTerrainLasReturnType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
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 |