|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILasPointCloud
Provides access to points.
Method Summary | |
---|---|
double |
estimatePointCount(IGeometry pAOI)
Estimate point count. |
void |
estimatePointSpacing(IEnvelope pAOI,
double[] pMinSpacing,
double[] pMaxSpacing,
double[] pMeanSpacing)
Estimate point spacing. |
IArray |
getLasPointInfo(ITrackCancel pTrackCancel,
IGeometry pLocation,
double pointID)
Returns an array of ILasPointInfo(the 1-based pointID is optional). |
IEnumLasPoint |
getLasPoints(ITrackCancel pTrackCancel,
ILasPointFilter pFilter,
double thinningFactor,
double zFactor)
getLasPoints |
IEnumLasPoint |
getLasPointsByBudget(ITrackCancel pTrackCancel,
ILasPointFilter pFilter,
double maxPointCount,
double zFactor)
getLasPointsByBudget |
void |
lasPointStatsAsRaster(ITrackCancel pTrackCancel,
ILasPointFilter pFilter,
IRasterDataset pDataset,
int type,
int attribute)
Export to Raster. |
void |
queryLasPointInfo(int fileIndex,
double pointID,
ILasPointInfo pInfo)
Query point information associated with the 1-based point ID. |
Method Detail |
---|
double estimatePointCount(IGeometry pAOI) throws IOException, AutomationException
Returns an estimate of the number of points within the specified area of interest.
pAOI is the input geometry representing the area of interest. Valid geometries are Polygon, Envelope and a GeometryBag with polygons or envelopes. The Z range information, if set on the input geometry, is ignored.
pAOI
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void estimatePointSpacing(IEnvelope pAOI, double[] pMinSpacing, double[] pMaxSpacing, double[] pMeanSpacing) throws IOException, AutomationException
Returns min, max, and mean point spacing estimates based on the LAS files whose extents intersect the passed envelope. If only one file is within the extent then min, max, and mean will be the same. If multiple files are intersected the min is set to the file with the smallest spacing, max to the one with the largest, and mean is based on estimating the total points within the envelope.
Point spacing estimates at this level (i.e., the dataset) are based on estimates made per LAS file. They'll be more reliable if statistics for the LAS dataset have been calculated (see ILasDatasetEdit.CalculateStatistics and ILasFile.HasStatistics).
pAOI
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pMinSpacing
- The pMinSpacing (out: use single element array)pMaxSpacing
- The pMaxSpacing (out: use single element array)pMeanSpacing
- The pMeanSpacing (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumLasPoint getLasPoints(ITrackCancel pTrackCancel, ILasPointFilter pFilter, double thinningFactor, double zFactor) throws IOException, AutomationException
Returns a Las point enumerator to retrieve points from a LAS dataset.
pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
pFilter references a ILasPointFilter that defines the selection criteria for what points to read from the las files.
thinningFactor is a double with a valid range: >0 and <=1.0. Multiplied by 100, it represents the percentage of points to retrieve from within the area of interest defined by pFilter.
zFactor is used to convert the vertical units of the retrieved points (e.g., to convert feet to meters). The output point z values are multipled by the zFactor.
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pFilter
- A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)thinningFactor
- The thinningFactor (in)zFactor
- The zFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumLasPoint getLasPointsByBudget(ITrackCancel pTrackCancel, ILasPointFilter pFilter, double maxPointCount, double zFactor) throws IOException, AutomationException
Returns a Las point enumerator to retrieve points from a LAS dataset with a constraint on the upper limit of the number of points.
pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
pFilter references a ILasPointFilter that defines the selection criteria for what points to read from the las files.
maxPointCount is the maximum number of points that is desired.
zFactor is used to convert the vertical units of the retrieved points (e.g., to convert feet to meters). The output point z values are multipled by the zFactor.
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pFilter
- A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)maxPointCount
- The maxPointCount (in)zFactor
- The zFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLasPointInfo(ITrackCancel pTrackCancel, IGeometry pLocation, double pointID) throws IOException, AutomationException
Returns an array of point info objects located near the input geometry.
pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
pLocation is the input geometry. Valid geometries are Point, Envelope. The z information on the input geometry is honored. If extent is z-aware, its z-range is honored.
pointID is optional. If provided, point info object(s) of the point(s) with the input pointID that satisfy the location's extent are returned.
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pLocation
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pointID
- The pointID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryLasPointInfo(int fileIndex, double pointID, ILasPointInfo pInfo) throws IOException, AutomationException
Queries the point information for the specified point in a specified file.
FileIndex is the input file index (0-based).
PointID is the input point id (1-based).
pInfo is ILasPointInfo object representing the point information. This object needs to be pre-initialized.
fileIndex
- The fileIndex (in)pointID
- The pointID (in)pInfo
- A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void lasPointStatsAsRaster(ITrackCancel pTrackCancel, ILasPointFilter pFilter, IRasterDataset pDataset, int type, int attribute) throws IOException, AutomationException
Populates the input raster dataset with values that reflect statistical information about measurements from LAS files referenced by a las dataset.
pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
pFilter is a reference to an ILasPointFilter. If set, only points that match the criteria set on the filter are considered while computing statistics.
pDataset is the raster dataset to which the point statistics information will be written to. The raster must already exist.
Type is the statistic type computed about the points in each cell of the raster dataset.
Attribute is the point attribute using which the statistics are computed on a cell by cell basis.
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pFilter
- A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)pDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)type
- A com.esri.arcgis.geodatabaseextensions.esriLasPointStatsType constant (in)attribute
- A com.esri.arcgis.geodatabaseextensions.esriLasAttributeType constant (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 |