com.esri.arcgis.geodatabaseextensions
Class LasDataset

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.LasDataset
All Implemented Interfaces:
IDataset, IGeoDataset, IGeoDatasetSchemaEdit, ILasDataset, ILasDataset2, ILasDataset3, ILasDatasetEdit, ILasPointCloud, ILasPointCloud2, ILasPointEdit, ILasPointEdit2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class LasDataset
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataset, IGeoDataset, IGeoDatasetSchemaEdit, ILasDataset, ILasDataset2, ILasDataset3, ILasDatasetEdit, ILasPointEdit, ILasPointEdit2, ILasPointCloud, ILasPointCloud2

COM Class 'LasDataset'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description 'Esri LasDataset component.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit
IID, IID6b267c02_28cc_11d3_9f67_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasDataset3
IID, IID817cd8ad_9986_4c9e_9004_8a098edac19e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasDataset2
IID3af8a856_b6c2_41e4_8b51_8ac0e8777087
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasDataset
IID3ac637a3_1671_4dfe_babe_d7947d57f050
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasDatasetEdit
IID, IIDca6228e2_eb8f_442f_88cb_5e40233e88e8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasPointEdit2
IID, IIDf8784690_24d0_4e14_be75_fac79751538d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasPointEdit
IID5ea400dd_3afa_4423_9bc7_4915f4292911
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasPointCloud2
IID, IID8c44f298_67d7_49c9_a935_31650928b8dc, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasPointCloud
IID1928009d_9153_4ec0_a75c_4c24008d28d5
 
Constructor Summary
LasDataset()
          Constructs a LasDataset using ArcGIS Engine.
LasDataset(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LasDataset theLasDataset = (LasDataset) obj;
 
Method Summary
 void addFile(java.lang.String fileName)
          Adds a file to the dataset.
 void addFolder(java.lang.String folderName, java.lang.String fileExtension, boolean bRecursive, IStringArray[] ppBadFiles)
          Adds all the files in the specified a folder, and potentially subfolders, to the dataset.
 void addSurfaceConstraint(IFeatureClass pFeatureClass, IField pHeightField, IField pTagField, int type)
          Adds surface constraint (e.g., breaklines) to the dataset.
 void alterSpatialReference(ISpatialReference spatialReference)
          Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
 void calculateFileStatistics(ITrackCancel pTrackCancel, int index)
          Calculate statistics of the specified file.
 void calculateStatistics(ITrackCancel pTrackCancel, boolean bForce, ILongArray[] ppBadFiles)
          Calculate statistics of the entire dataset.
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 void changeClassCode(ITrackCancel pTrackCancel, int fileIndex, ILongArray pExistingCodes, ILongArray pNewCodes, boolean bCalculateStats)
          Replace points' class code.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 ILasSurface createDynamicSurface()
          Returns an implicit surface.
 void delete()
          Deletes this dataset.
 void editClassCode(int fileIndex, IDoubleArray pPointIDs, ILongArray pCodes, boolean[] pbHasChange)
          Set points' class code.
 void editClassCodeByClass(int fileIndex, IDoubleArray pPointIDs, int newCode, int withheldFlag, int keyPointFlag, int syntheticFlag, boolean[] pbHasChange)
          Set class code and flags (negative classCode value indicates no code change).
 void editClassCodeByClass2(int fileIndex, IDoubleArray pPointIDs, int newCode, int withheldFlag, int keyPointFlag, int syntheticFlag, int overlapFlag, boolean[] pbHasChange)
          Set class code and flags (negative classCode value indicates no code change).
 boolean equals(java.lang.Object o)
          Compare this object with another
 double estimatePointCount(IGeometry pAOI)
          Estimate point count.
 void estimatePointSpacing(IEnvelope pAOI, double[] pMinSpacing, double[] pMaxSpacing, double[] pMeanSpacing)
          Estimate point spacing.
 void export(ITrackCancel pTrackCancel, int fileIndex, ILasPointFilter pFilter, java.lang.String newFileName, ISpatialReference pNewSpatialReference, boolean bProject, boolean bDropVLRs)
          Writes a new, optionally modified, version of the specified LAS file.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
static java.lang.String getClsid()
          getClsid.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 ILasFile getFile(int index)
          Returns the LAS file specified by the index.
 int getFileCount()
          The number of LAS files contained in the dataset.
 void getFileCounts(int[] pcLasFiles, int[] pcZlasFiles)
          Returns the number of LAS files and number of zLAS files in the dataset.
 IName getFullName()
          The associated name object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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)
          Returns a point enumerator object.
 IEnumLasPoint getLasPointsByBudget(ITrackCancel pTrackCancel, ILasPointFilter pFilter, double maxPointCount, double zFactor)
          Returns a point enumerator object.
 IEnumLasPoint getLasPointsExt(ITrackCancel pTrackCancel, ILongArray pLasFiles, ILasPointFilter pFilter, double thinningFactor, double zFactor)
          Returns a point enumerator object.
 java.lang.String getName()
          The name of the Dataset.
 double getPointCount()
          The number of points in the dataset.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 double getSizeInBytes()
          The size of all the LAS/zLAS files in bytes.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 ILasStatistics getStatistics()
          Get statistics.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 void getSurfaceConstraint(int index, IFeatureClass[] ppClass, IField[] ppHeightField, IField[] ppTagField, int[] pType)
          Gets surface constraint specified by the index.
 int getSurfaceConstraintCount()
          The number of surface constraints contained in the dataset.
 void getSurfaceConstraintID(int index, IUID[] ppGuid)
          Gets surface constraint specified by the index.
 void getSurfaceConstraintIndexFromID(IUID pGuid, int[] pIndex)
          Gets surface constraint's index identified by the ID.
 void getSurfaceConstraintName(int index, IFeatureClassName[] ppName, java.lang.String[] pHeightField, java.lang.String[] pTagField, int[] pType)
          Gets surface constraint specified by the index.
 int getType()
          The type of the Dataset.
 double getUncompressedSizeInBytes()
          The dataset's uncompressed size in bytes.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 int hashCode()
          the hashcode for this object
 void init(java.lang.String name)
          Opens the specified dataset.
 boolean isCanAlterSpatialReference()
          Indicates if the spatial reference of the dataset can be altered.
 boolean isDirty()
          Indicates if the dataset has been changed since last save.
 boolean isHasStatistics()
          Indicates if statistics is available.
 boolean isNeedsUpdateStatistics()
          Indicates if update is necessary.
 boolean isUsesRelativePath()
          Indicates if the dataset is saved with relative path.
 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.
 void rearrange(ITrackCancel pTrackCancel, int fileIndex, java.lang.String newFileName, boolean bOverWrite)
          Spatially rearrange points.
 void release()
          Release a LasDataset.
 void removeFile(int index)
          Removes the specified file from the dataset.
 void removeFileByName(java.lang.String fileName)
          Removes the specified file from the dataset.
 void removeSurfaceConstraint(IFeatureClass pFeatureClass)
          Removes the specified surface constraint from the dataset.
 void removeSurfaceConstraintByID(IUID pGuid)
          Removes the specified surface constraint from the dataset.
 void rename(java.lang.String name)
          Renames this Dataset.
 void save()
          Saves the changes.
 void saveAs(java.lang.String name, boolean bOverWrite)
          Saves the dataset to disk using the specified name.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setClassCode(ITrackCancel pTrackCancel, int fileIndex, java.lang.Object pAOI, double bufferDistance, IDoubleArray pZRange, ILasAttributeFilter pFilter, int newCode, boolean bCalculateStats)
          Set points' class code.
 void setClassFlag(ITrackCancel pTrackCancel, int fileIndex, java.lang.Object pAOI, double bufferDistance, IDoubleArray pZRange, ILasAttributeFilter pFilter, int newFlags, boolean bClear, boolean bCalculateStats)
          Set points' classification flag.
 void setEmpty()
          Empty the object.
 void setSpatialReference(ISpatialReference pSpatialReference)
          Sets spatial reference.
 void setUsesRelativePath(boolean rhs1)
          Indicates if the dataset is saved with relative path.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LasDataset

public LasDataset()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a LasDataset using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

LasDataset

public LasDataset(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LasDataset theLasDataset = (LasDataset) obj;

Construct a LasDataset using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LasDataset.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a LasDataset.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

Specified by:
getName in interface IDataset
Specified by:
getName in interface ILasDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

Specified by:
getFullName in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the Dataset.

Specified by:
getType in interface IDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

Specified by:
getSubsets in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
True if this dataset can be copied.

Specified by:
canCopy in interface IDataset
Returns:
The canCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this dataset to a new dataset with the specified name.

Specified by:
copy in interface IDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

Specified by:
delete in interface IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the GeoDataset.

Remarks

This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.

Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.

Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSpatialReference in interface IGeoDataset
Specified by:
getSpatialReference in interface ILasDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the GeoDataset.

Remarks

The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.

Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

The red box represents the IGeoDataset extent

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

The red box represents the IGeoDataset extent after some of the features have been deleted

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

The red box represents the IGeoDataset extent after it has been updated

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isCanAlterSpatialReference

public boolean isCanAlterSpatialReference()
                                   throws java.io.IOException,
                                          AutomationException
Indicates if the spatial reference of the dataset can be altered.

Specified by:
isCanAlterSpatialReference in interface IGeoDatasetSchemaEdit
Returns:
The canAlter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterSpatialReference

public void alterSpatialReference(ISpatialReference spatialReference)
                           throws java.io.IOException,
                                  AutomationException
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.

Specified by:
alterSpatialReference in interface IGeoDatasetSchemaEdit
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Empty the object.

Specified by:
setEmpty in interface ILasDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(java.lang.String name)
          throws java.io.IOException,
                 AutomationException
Opens the specified dataset.

Specified by:
init in interface ILasDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAs

public void saveAs(java.lang.String name,
                   boolean bOverWrite)
            throws java.io.IOException,
                   AutomationException
Saves the dataset to disk using the specified name.

Specified by:
saveAs in interface ILasDataset
Parameters:
name - The name (in)
bOverWrite - The bOverWrite (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsesRelativePath

public boolean isUsesRelativePath()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the dataset is saved with relative path.

Specified by:
isUsesRelativePath in interface ILasDataset
Returns:
The pbUsesRelativePath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public boolean isDirty()
                throws java.io.IOException,
                       AutomationException
Indicates if the dataset has been changed since last save.

Specified by:
isDirty in interface ILasDataset
Returns:
The pbIsDirty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileCount

public int getFileCount()
                 throws java.io.IOException,
                        AutomationException
The number of LAS files contained in the dataset.

Specified by:
getFileCount in interface ILasDataset
Returns:
The pcFiles
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFile

public ILasFile getFile(int index)
                 throws java.io.IOException,
                        AutomationException
Returns the LAS file specified by the index.

Specified by:
getFile in interface ILasDataset
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.ILasFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceConstraintCount

public int getSurfaceConstraintCount()
                              throws java.io.IOException,
                                     AutomationException
The number of surface constraints contained in the dataset.

Specified by:
getSurfaceConstraintCount in interface ILasDataset
Returns:
The pcConstraints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceConstraint

public void getSurfaceConstraint(int index,
                                 IFeatureClass[] ppClass,
                                 IField[] ppHeightField,
                                 IField[] ppTagField,
                                 int[] pType)
                          throws java.io.IOException,
                                 AutomationException
Gets surface constraint specified by the index.

Specified by:
getSurfaceConstraint in interface ILasDataset
Parameters:
index - The index (in)
ppClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (out: use single element array)
ppHeightField - A reference to a com.esri.arcgis.geodatabase.IField (out: use single element array)
ppTagField - A reference to a com.esri.arcgis.geodatabase.IField (out: use single element array)
pType - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceConstraintName

public void getSurfaceConstraintName(int index,
                                     IFeatureClassName[] ppName,
                                     java.lang.String[] pHeightField,
                                     java.lang.String[] pTagField,
                                     int[] pType)
                              throws java.io.IOException,
                                     AutomationException
Gets surface constraint specified by the index.

Specified by:
getSurfaceConstraintName in interface ILasDataset
Parameters:
index - The index (in)
ppName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (out: use single element array)
pHeightField - The pHeightField (out: use single element array)
pTagField - The pTagField (out: use single element array)
pType - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceConstraintID

public void getSurfaceConstraintID(int index,
                                   IUID[] ppGuid)
                            throws java.io.IOException,
                                   AutomationException
Gets surface constraint specified by the index.

Specified by:
getSurfaceConstraintID in interface ILasDataset
Parameters:
index - The index (in)
ppGuid - A reference to a com.esri.arcgis.system.IUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceConstraintIndexFromID

public void getSurfaceConstraintIndexFromID(IUID pGuid,
                                            int[] pIndex)
                                     throws java.io.IOException,
                                            AutomationException
Gets surface constraint's index identified by the ID.

Specified by:
getSurfaceConstraintIndexFromID in interface ILasDataset
Parameters:
pGuid - A reference to a com.esri.arcgis.system.IUID (in)
pIndex - The pIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointCount

public double getPointCount()
                     throws java.io.IOException,
                            AutomationException
The number of points in the dataset.

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

getSizeInBytes

public double getSizeInBytes()
                      throws java.io.IOException,
                             AutomationException
The size of all the LAS/zLAS files in bytes.

Specified by:
getSizeInBytes in interface ILasDataset
Returns:
The pcBytes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasStatistics

public boolean isHasStatistics()
                        throws java.io.IOException,
                               AutomationException
Indicates if statistics is available.

Specified by:
isHasStatistics in interface ILasDataset
Returns:
The pbHasStats
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNeedsUpdateStatistics

public boolean isNeedsUpdateStatistics()
                                throws java.io.IOException,
                                       AutomationException
Indicates if update is necessary.

Specified by:
isNeedsUpdateStatistics in interface ILasDataset
Returns:
The pbNeedsUpdate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistics

public ILasStatistics getStatistics()
                             throws java.io.IOException,
                                    AutomationException
Get statistics.

Specified by:
getStatistics in interface ILasDataset
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.ILasStatistics
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDynamicSurface

public ILasSurface createDynamicSurface()
                                 throws java.io.IOException,
                                        AutomationException
Returns an implicit surface.

Specified by:
createDynamicSurface in interface ILasDataset
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.ILasSurface
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

export

public void export(ITrackCancel pTrackCancel,
                   int fileIndex,
                   ILasPointFilter pFilter,
                   java.lang.String newFileName,
                   ISpatialReference pNewSpatialReference,
                   boolean bProject,
                   boolean bDropVLRs)
            throws java.io.IOException,
                   AutomationException
Writes a new, optionally modified, version of the specified LAS file.

Specified by:
export in interface ILasDataset
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
fileIndex - The fileIndex (in)
pFilter - A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)
newFileName - The newFileName (in)
pNewSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
bProject - The bProject (in)
bDropVLRs - The bDropVLRs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rearrange

public void rearrange(ITrackCancel pTrackCancel,
                      int fileIndex,
                      java.lang.String newFileName,
                      boolean bOverWrite)
               throws java.io.IOException,
                      AutomationException
Spatially rearrange points.

Specified by:
rearrange in interface ILasDataset2
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
fileIndex - The fileIndex (in)
newFileName - The newFileName (in)
bOverWrite - The bOverWrite (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUncompressedSizeInBytes

public double getUncompressedSizeInBytes()
                                  throws java.io.IOException,
                                         AutomationException
The dataset's uncompressed size in bytes.

Specified by:
getUncompressedSizeInBytes in interface ILasDataset3
Returns:
The pcBytes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileCounts

public void getFileCounts(int[] pcLasFiles,
                          int[] pcZlasFiles)
                   throws java.io.IOException,
                          AutomationException
Returns the number of LAS files and number of zLAS files in the dataset.

Specified by:
getFileCounts in interface ILasDataset3
Parameters:
pcLasFiles - The pcLasFiles (out: use single element array)
pcZlasFiles - The pcZlasFiles (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save()
          throws java.io.IOException,
                 AutomationException
Saves the changes.

Specified by:
save in interface ILasDatasetEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUsesRelativePath

public void setUsesRelativePath(boolean rhs1)
                         throws java.io.IOException,
                                AutomationException
Indicates if the dataset is saved with relative path.

Specified by:
setUsesRelativePath in interface ILasDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReference

public void setSpatialReference(ISpatialReference pSpatialReference)
                         throws java.io.IOException,
                                AutomationException
Sets spatial reference.

Specified by:
setSpatialReference in interface ILasDatasetEdit
Parameters:
pSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFile

public void addFile(java.lang.String fileName)
             throws java.io.IOException,
                    AutomationException
Adds a file to the dataset.

Specified by:
addFile in interface ILasDatasetEdit
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFolder

public void addFolder(java.lang.String folderName,
                      java.lang.String fileExtension,
                      boolean bRecursive,
                      IStringArray[] ppBadFiles)
               throws java.io.IOException,
                      AutomationException
Adds all the files in the specified a folder, and potentially subfolders, to the dataset.

Specified by:
addFolder in interface ILasDatasetEdit
Parameters:
folderName - The folderName (in)
fileExtension - The fileExtension (in)
bRecursive - The bRecursive (in)
ppBadFiles - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeFile

public void removeFile(int index)
                throws java.io.IOException,
                       AutomationException
Removes the specified file from the dataset.

Specified by:
removeFile in interface ILasDatasetEdit
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeFileByName

public void removeFileByName(java.lang.String fileName)
                      throws java.io.IOException,
                             AutomationException
Removes the specified file from the dataset.

Specified by:
removeFileByName in interface ILasDatasetEdit
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSurfaceConstraint

public void addSurfaceConstraint(IFeatureClass pFeatureClass,
                                 IField pHeightField,
                                 IField pTagField,
                                 int type)
                          throws java.io.IOException,
                                 AutomationException
Adds surface constraint (e.g., breaklines) to the dataset.

Specified by:
addSurfaceConstraint in interface ILasDatasetEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pHeightField - A reference to a com.esri.arcgis.geodatabase.IField (in)
pTagField - A reference to a com.esri.arcgis.geodatabase.IField (in)
type - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeSurfaceConstraint

public void removeSurfaceConstraint(IFeatureClass pFeatureClass)
                             throws java.io.IOException,
                                    AutomationException
Removes the specified surface constraint from the dataset.

Specified by:
removeSurfaceConstraint in interface ILasDatasetEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeSurfaceConstraintByID

public void removeSurfaceConstraintByID(IUID pGuid)
                                 throws java.io.IOException,
                                        AutomationException
Removes the specified surface constraint from the dataset.

Specified by:
removeSurfaceConstraintByID in interface ILasDatasetEdit
Parameters:
pGuid - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateStatistics

public void calculateStatistics(ITrackCancel pTrackCancel,
                                boolean bForce,
                                ILongArray[] ppBadFiles)
                         throws java.io.IOException,
                                AutomationException
Calculate statistics of the entire dataset.

Specified by:
calculateStatistics in interface ILasDatasetEdit
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
bForce - The bForce (in)
ppBadFiles - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateFileStatistics

public void calculateFileStatistics(ITrackCancel pTrackCancel,
                                    int index)
                             throws java.io.IOException,
                                    AutomationException
Calculate statistics of the specified file.

Specified by:
calculateFileStatistics in interface ILasDatasetEdit
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassFlag

public void setClassFlag(ITrackCancel pTrackCancel,
                         int fileIndex,
                         java.lang.Object pAOI,
                         double bufferDistance,
                         IDoubleArray pZRange,
                         ILasAttributeFilter pFilter,
                         int newFlags,
                         boolean bClear,
                         boolean bCalculateStats)
                  throws java.io.IOException,
                         AutomationException
Set points' classification flag.

Specified by:
setClassFlag in interface ILasPointEdit
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
fileIndex - The fileIndex (in)
pAOI - A reference to another Object (IUnknown) (in)
bufferDistance - The bufferDistance (in)
pZRange - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pFilter - A reference to a com.esri.arcgis.geodatabaseextensions.ILasAttributeFilter (in)
newFlags - The newFlags (in)
bClear - The bClear (in)
bCalculateStats - The bCalculateStats (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassCode

public void setClassCode(ITrackCancel pTrackCancel,
                         int fileIndex,
                         java.lang.Object pAOI,
                         double bufferDistance,
                         IDoubleArray pZRange,
                         ILasAttributeFilter pFilter,
                         int newCode,
                         boolean bCalculateStats)
                  throws java.io.IOException,
                         AutomationException
Set points' class code.

Specified by:
setClassCode in interface ILasPointEdit
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
fileIndex - The fileIndex (in)
pAOI - A reference to another Object (IUnknown) (in)
bufferDistance - The bufferDistance (in)
pZRange - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pFilter - A reference to a com.esri.arcgis.geodatabaseextensions.ILasAttributeFilter (in)
newCode - The newCode (in)
bCalculateStats - The bCalculateStats (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeClassCode

public void changeClassCode(ITrackCancel pTrackCancel,
                            int fileIndex,
                            ILongArray pExistingCodes,
                            ILongArray pNewCodes,
                            boolean bCalculateStats)
                     throws java.io.IOException,
                            AutomationException
Replace points' class code.

Specified by:
changeClassCode in interface ILasPointEdit
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
fileIndex - The fileIndex (in)
pExistingCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
pNewCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
bCalculateStats - The bCalculateStats (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

editClassCodeByClass

public void editClassCodeByClass(int fileIndex,
                                 IDoubleArray pPointIDs,
                                 int newCode,
                                 int withheldFlag,
                                 int keyPointFlag,
                                 int syntheticFlag,
                                 boolean[] pbHasChange)
                          throws java.io.IOException,
                                 AutomationException
Set class code and flags (negative classCode value indicates no code change).

Specified by:
editClassCodeByClass in interface ILasPointEdit
Parameters:
fileIndex - The fileIndex (in)
pPointIDs - A reference to a com.esri.arcgis.system.IDoubleArray (in)
newCode - The newCode (in)
withheldFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
keyPointFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
syntheticFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
pbHasChange - The pbHasChange (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

editClassCode

public void editClassCode(int fileIndex,
                          IDoubleArray pPointIDs,
                          ILongArray pCodes,
                          boolean[] pbHasChange)
                   throws java.io.IOException,
                          AutomationException
Set points' class code.

Specified by:
editClassCode in interface ILasPointEdit
Parameters:
fileIndex - The fileIndex (in)
pPointIDs - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
pbHasChange - The pbHasChange (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

editClassCodeByClass2

public void editClassCodeByClass2(int fileIndex,
                                  IDoubleArray pPointIDs,
                                  int newCode,
                                  int withheldFlag,
                                  int keyPointFlag,
                                  int syntheticFlag,
                                  int overlapFlag,
                                  boolean[] pbHasChange)
                           throws java.io.IOException,
                                  AutomationException
Set class code and flags (negative classCode value indicates no code change).

Specified by:
editClassCodeByClass2 in interface ILasPointEdit2
Parameters:
fileIndex - The fileIndex (in)
pPointIDs - A reference to a com.esri.arcgis.system.IDoubleArray (in)
newCode - The newCode (in)
withheldFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
keyPointFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
syntheticFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
overlapFlag - A com.esri.arcgis.geodatabaseextensions.esriLasClassFlagEditType constant (in)
pbHasChange - The pbHasChange (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

estimatePointCount

public double estimatePointCount(IGeometry pAOI)
                          throws java.io.IOException,
                                 AutomationException
Estimate point count.

Specified by:
estimatePointCount in interface ILasPointCloud
Parameters:
pAOI - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
The pcPoints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

estimatePointSpacing

public void estimatePointSpacing(IEnvelope pAOI,
                                 double[] pMinSpacing,
                                 double[] pMaxSpacing,
                                 double[] pMeanSpacing)
                          throws java.io.IOException,
                                 AutomationException
Estimate point spacing.

Specified by:
estimatePointSpacing in interface ILasPointCloud
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLasPoints

public IEnumLasPoint getLasPoints(ITrackCancel pTrackCancel,
                                  ILasPointFilter pFilter,
                                  double thinningFactor,
                                  double zFactor)
                           throws java.io.IOException,
                                  AutomationException
Returns a point enumerator object.

Specified by:
getLasPoints in interface ILasPointCloud
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.IEnumLasPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLasPointsByBudget

public IEnumLasPoint getLasPointsByBudget(ITrackCancel pTrackCancel,
                                          ILasPointFilter pFilter,
                                          double maxPointCount,
                                          double zFactor)
                                   throws java.io.IOException,
                                          AutomationException
Returns a point enumerator object.

Specified by:
getLasPointsByBudget in interface ILasPointCloud
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.IEnumLasPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLasPointInfo

public IArray getLasPointInfo(ITrackCancel pTrackCancel,
                              IGeometry pLocation,
                              double pointID)
                       throws java.io.IOException,
                              AutomationException
Returns an array of ILasPointInfo(the 1-based pointID is optional).

Specified by:
getLasPointInfo in interface ILasPointCloud
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLasPointInfo

public void queryLasPointInfo(int fileIndex,
                              double pointID,
                              ILasPointInfo pInfo)
                       throws java.io.IOException,
                              AutomationException
Query point information associated with the 1-based point ID.

Specified by:
queryLasPointInfo in interface ILasPointCloud
Parameters:
fileIndex - The fileIndex (in)
pointID - The pointID (in)
pInfo - A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

lasPointStatsAsRaster

public void lasPointStatsAsRaster(ITrackCancel pTrackCancel,
                                  ILasPointFilter pFilter,
                                  IRasterDataset pDataset,
                                  int type,
                                  int attribute)
                           throws java.io.IOException,
                                  AutomationException
Export to Raster.

Specified by:
lasPointStatsAsRaster in interface ILasPointCloud
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLasPointsExt

public IEnumLasPoint getLasPointsExt(ITrackCancel pTrackCancel,
                                     ILongArray pLasFiles,
                                     ILasPointFilter pFilter,
                                     double thinningFactor,
                                     double zFactor)
                              throws java.io.IOException,
                                     AutomationException
Returns a point enumerator object.

Specified by:
getLasPointsExt in interface ILasPointCloud2
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pLasFiles - A reference to a com.esri.arcgis.system.ILongArray (in)
pFilter - A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)
thinningFactor - The thinningFactor (in)
zFactor - The zFactor (in)
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.IEnumLasPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.