|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.geodatabaseextensions.LasReturnStatistics
public class LasReturnStatistics
Esri LasReturnStatistics object.
Constructor Summary | |
---|---|
LasReturnStatistics(Object obj)
Construct a LasReturnStatistics using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IEnvelope |
getExtent()
The XYZ extent of points associated with this return (excluding withheld points). |
double |
getKeyPointCount()
The number of Key points associated with this return. |
double |
getPointCount()
The number of points associated with this return (excluding withheld points). |
int |
getReturnType()
The return type associated with the statistics. |
double |
getSyntheticPointCount()
The number of Synthetic points associated with this return. |
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 LasReturnStatistics(Object obj) throws IOException
obj
to LasReturnStatistics
. *
LasReturnStatistics o = (LasReturnStatistics)obj; // will not work
LasReturnStatistics o = new LasReturnStatistics(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
LasReturnStatistics theLasReturnStatistics = (LasReturnStatistics) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getReturnType() throws IOException, AutomationException
The return type (see esriTerrainLasReturnType) these statistics are associated with.
getReturnType
in interface ILasReturnStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPointCount() throws IOException, AutomationException
Note, its possible for there to be a discrepancy between this and IHeaderInfo.GetNumberOfPointsByReturn or ILasFile.GetNumberOfPointsByReturn. This is because the value from ILasReturnStatistics is based on a scan of the point records (i.e., the actual file contents), while the other methods are simply echoing what's stated in the LAS file header(s) and some LAS files have been found to contain incorrect header information.
getPointCount
in interface ILasReturnStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSyntheticPointCount() throws IOException, AutomationException
The number of synthetic points, as defined by the LAS specification, that belong to the selected lidar return type. Since synthetic points are added to LAS files in a post-process, and are not associated with any laser pulses, the return number(s) associated with them are undefined. Generally, it's expected they'll be set to 1 since LAS readers are likely to expect return values in the range 1-5 and may fail with anything else (e.g., 0).
getSyntheticPointCount
in interface ILasReturnStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getKeyPointCount() throws IOException, AutomationException
The number of key points associated with the selected lidar return type (see esriTerrainLasReturnType). According to the LAS specification there are two means of defining key points: by class bit field encoding or by assignment of classification code 8. This method reports the count for the bit encoded key points.
getKeyPointCount
in interface ILasReturnStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
The XYZ extent of the selected lidar return type. Withheld points, as defined by the LAS specification, are not taken into consideration.
getExtent
in interface ILasReturnStatistics
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 |