com.esri.arcgis.geodatabaseextensions
Class Terrain

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.Terrain
All Implemented Interfaces:
IDataset, IDatasetAnalyze, IDatasetComponent, IDatasetComponent2, IGeoDataset, IMetadata, IMetadataEdit, INativeTypeInfo, ISchemaLock, ITerrain, ITerrain2, ITerrainEdit, ITerrainEdit2, ITerrainEdit3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class Terrain
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataset, IGeoDataset, ITerrain, ITerrain2, ITerrainEdit, ITerrainEdit2, ITerrainEdit3, ISchemaLock, IDatasetAnalyze, IDatasetComponent, IDatasetComponent2, IMetadata, IMetadataEdit, INativeTypeInfo

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

Description 'The Esri Terrain 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.geodatabaseextensions.ITerrain2
IID, IID5d6d7322_d2d5_4c16_a52d_0b1199efa98d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrain
IIDf657c7ed_fe73_493e_8cf7_845e20cb7d9b
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainEdit3
IID, IIDa7e67808_29d5_4dd9_8696_06993fa838b4, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainEdit2
IIDed9009eb_18f0_436e_9385_0f0007dd1f90
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainEdit
IID8e9c9736_60b1_4db5_af18_ed40f41d4714
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISchemaLock
IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetAnalyze
IID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetComponent2
IID, IID06422a95_1f61_4e3c_9523_bcdae837ddcb, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetComponent
IID5f636f00_4b3c_46eb_a684_c2d746357061
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadata
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataEdit
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy
 
Constructor Summary
Terrain(java.lang.Object obj)
          Construct a Terrain using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addDataSource(ITerrainDataSource pDataSource)
          Adds a reference to a feature class.
 void addDataSourceData(int index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
          Appends measurements to a terrain data source (feature class).
 void addDataSourceData2(int index, java.lang.String pointCountFieldName, IGeometry pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
          Appends measurements to terrain data source (feature class).
 void addITerrainEditEventsListener(ITerrainEditEvents theListener)
          addITerrainEditEventsListener.
 void addPyramidLevel(ITerrainPyramidLevel pPyramidLevel)
          Adds a pyramid level.
 void analyze(int tableComponents)
          Analyze the data to update/generate DBMS statistics.
 void build(ITrackCancel pTrackCancel)
          Constructs the terrain.
 void calculateFieldStatistics(int index, IStringArray pFieldNames, ITrackCancel pTrackCancel)
          Calculate Terrain blob field statistics of the specified embedded data source.
 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 changeMaxScale(int index, int newScale)
          Modifies the largest display scale used for a particular level of a terrain pyramid.
 void changeResolutionBounds(int index, double lowerBound, double upperBound)
          Change the resolution bounds of a data source.
 void changeSchemaLock(int schemaLock)
          Changes a schema lock.
 void changeUsageInOverview(int index, boolean bApply)
          Change the ApplyToOverviewTerrain property of the specified data source.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 IDynamicSurface createDynamicSurface()
          Returns an implicit surface from which TINs and rasters are derived.
 void delete()
          Deletes this dataset.
 void deleteDataSourceData(int index, IEnvelope pAOI, ITrackCancel pTrackCancel)
          Removes measurements from a terrain data source (feature class).
 void deleteDataSourceData2(int index, java.lang.String pointCountFieldName, IGeometry pAOI, ITrackCancel pTrackCancel)
          Removes measurements from a terrain data source (feature class).
 void deleteDataSourceDataByFC(int index, java.lang.String pointCountFieldName, IFeatureClass pFC, boolean bSparseData, ITrackCancel pTrackCancel)
          Removes measurements from a terrain data source (feature class).
 boolean equals(java.lang.Object o)
          Compare this object with another
 void extractFromEmbeddedDataSource(int index, IFeatureClass pFeatureClass, IEnvelope pAOI, double resolution, ITrackCancel pTrackCancel)
          Copies features of an embedded data source to the specified feature class.
 int getAllowableComponents()
          The allowable components to be analyzed.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
 void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
          The list of current locks.
 IDEDataset getDataElement()
          The data element corresponding to the dataset component.
 ITerrainDataSource getDataSource(int index)
          Returns the data source specified by the index.
 int getDataSourceCount()
          The number of data sources participating in the terrain.
 IEnumEnvelope getDirtyTiles()
          Returns all dirty tiles.
 java.lang.String getEmbeddedDataSourceShapeFieldName()
          Returns the 'Shape' field name of the embedded data sources.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 IFeatureDataset getFeatureDataset()
          The feature dataset which contains the terrain.
 IName getFullName()
          The associated name object.
 int getID()
          The database identifier of the terrain.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMaxOverviewTerrainPoints()
          The maximum number of points in the most generalized representation of a Terrain.
 int getMaxPointsPerShape()
          The maximum number of vertices per multipoint.
 IPropertySet getMetadata()
          The PropertySet containing metadata.
 java.lang.String getName()
          The name of the Dataset.
 INativeType getNativeType()
          The native type.
 IDataset getParent()
          The containing parent dataset.
 double getPointCount(IEnvelope pAOI, double resolution)
          Returns the approximate number of points in the terrain within a given area and at a particular pyramid level.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 ITerrainPyramidLevel getPyramidLevel(int index)
          Returns the pyramid level specified by the index.
 int getPyramidLevelCount()
          The number of pyramid levels in the terrain.
 int getPyramidType()
          The pyramid type of this Terrain.
 double getSize()
          The total number of points in the Terrain.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 double getTileSize()
          The horizontal distance used to spatially index and partition terrain data.
 int getType()
          The type of the Dataset.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 int hashCode()
          the hashcode for this object
 boolean isCanEditMetadata()
          Indicates if metadata can be edited.
 boolean isDirty()
          Indicates whether or not a partial rebuild is needed.
 boolean isValid()
          Indicates whether or not a full build is required.
 void queryTileInfo(int[] pRowBegin, int[] pRowEnd, int[] pColBegin, int[] pColEnd, double[] pXMin, double[] pYMin, double[] pTileSize, int[] pRowCountDomain, int[] pColCountDomain)
          Returns horizontal partitioning information about the terrain data.
 void release()
          Release a Terrain.
 void removeDataSource(int index)
          Removes reference to a participating feature class.
 void removeITerrainEditEventsListener(ITerrainEditEvents theListener)
          removeITerrainEditEventsListener.
 void removePyramidLevel(int index)
          Removes a pyramid level.
 void rename(java.lang.String name)
          Renames this Dataset.
 void replaceDataSourceData(int index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
          Replaces measurements from a terrain data source (feature class) with measurements in another feature class.
 void replaceDataSourceData2(int index, java.lang.String pointCountFieldName, IGeometry pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
          Replaces measurements from a terrain data source (feature class) with measurements in another feature class.
 void searchFromEmbeddedDataSource(int index, IEnvelope pAOI, double resolution, IStringArray pSubFields, IFeatureCursor[] ppCursor, ILongArray[] ppFieldIndices)
          Returns a Search Cursor on the specified embedded data source.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setMetadata(IPropertySet propertySet)
          The PropertySet containing metadata.
 void synchronize(int action, int interval)
          Updates metadata with the current properties; may create metadata if it doesn't already exist.
 void updateExtent(ITrackCancel pTrackCancel)
          Refresh terrain's extent.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terrain

public Terrain(java.lang.Object obj)
        throws java.io.IOException
Construct a Terrain using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to Terrain.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
Terrain o = (Terrain)obj; // will not work

Terrain o = new Terrain(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems Terrain theTerrain = (Terrain) obj;
Method Detail

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

addITerrainEditEventsListener

public void addITerrainEditEventsListener(ITerrainEditEvents theListener)
                                   throws java.io.IOException
addITerrainEditEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabaseextensions.ITerrainEditEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeITerrainEditEventsListener

public void removeITerrainEditEventsListener(ITerrainEditEvents theListener)
                                      throws java.io.IOException
removeITerrainEditEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabaseextensions.ITerrainEditEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a Terrain.

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 ITerrain
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 ITerrain
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 ITerrain
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.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
The database identifier of the terrain.

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

getSize

public double getSize()
               throws java.io.IOException,
                      AutomationException
The total number of points in the Terrain.

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

isValid

public boolean isValid()
                throws java.io.IOException,
                       AutomationException
Indicates whether or not a full build is required.

Specified by:
isValid in interface ITerrain
Returns:
The pbIsValid
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 whether or not a partial rebuild is needed.

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

getFeatureDataset

public IFeatureDataset getFeatureDataset()
                                  throws java.io.IOException,
                                         AutomationException
The feature dataset which contains the terrain.

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

getDataSourceCount

public int getDataSourceCount()
                       throws java.io.IOException,
                              AutomationException
The number of data sources participating in the terrain.

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

getDataSource

public ITerrainDataSource getDataSource(int index)
                                 throws java.io.IOException,
                                        AutomationException
Returns the data source specified by the index.

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

getPyramidLevelCount

public int getPyramidLevelCount()
                         throws java.io.IOException,
                                AutomationException
The number of pyramid levels in the terrain.

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

getPyramidLevel

public ITerrainPyramidLevel getPyramidLevel(int index)
                                     throws java.io.IOException,
                                            AutomationException
Returns the pyramid level specified by the index.

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

getTileSize

public double getTileSize()
                   throws java.io.IOException,
                          AutomationException
The horizontal distance used to spatially index and partition terrain data.

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

getPyramidType

public int getPyramidType()
                   throws java.io.IOException,
                          AutomationException
The pyramid type of this Terrain.

Specified by:
getPyramidType in interface ITerrain
Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainPyramidType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxOverviewTerrainPoints

public int getMaxOverviewTerrainPoints()
                                throws java.io.IOException,
                                       AutomationException
The maximum number of points in the most generalized representation of a Terrain.

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

getMaxPointsPerShape

public int getMaxPointsPerShape()
                         throws java.io.IOException,
                                AutomationException
The maximum number of vertices per multipoint.

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

queryTileInfo

public void queryTileInfo(int[] pRowBegin,
                          int[] pRowEnd,
                          int[] pColBegin,
                          int[] pColEnd,
                          double[] pXMin,
                          double[] pYMin,
                          double[] pTileSize,
                          int[] pRowCountDomain,
                          int[] pColCountDomain)
                   throws java.io.IOException,
                          AutomationException
Returns horizontal partitioning information about the terrain data.

Specified by:
queryTileInfo in interface ITerrain
Parameters:
pRowBegin - The pRowBegin (out: use single element array)
pRowEnd - The pRowEnd (out: use single element array)
pColBegin - The pColBegin (out: use single element array)
pColEnd - The pColEnd (out: use single element array)
pXMin - The pXMin (out: use single element array)
pYMin - The pYMin (out: use single element array)
pTileSize - The pTileSize (out: use single element array)
pRowCountDomain - The pRowCountDomain (out: use single element array)
pColCountDomain - The pColCountDomain (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirtyTiles

public IEnumEnvelope getDirtyTiles()
                            throws java.io.IOException,
                                   AutomationException
Returns all dirty tiles.

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

getPointCount

public double getPointCount(IEnvelope pAOI,
                            double resolution)
                     throws java.io.IOException,
                            AutomationException
Returns the approximate number of points in the terrain within a given area and at a particular pyramid level.

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

createDynamicSurface

public IDynamicSurface createDynamicSurface()
                                     throws java.io.IOException,
                                            AutomationException
Returns an implicit surface from which TINs and rasters are derived.

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

extractFromEmbeddedDataSource

public void extractFromEmbeddedDataSource(int index,
                                          IFeatureClass pFeatureClass,
                                          IEnvelope pAOI,
                                          double resolution,
                                          ITrackCancel pTrackCancel)
                                   throws java.io.IOException,
                                          AutomationException
Copies features of an embedded data source to the specified feature class.

Specified by:
extractFromEmbeddedDataSource in interface ITerrain
Parameters:
index - The index (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
resolution - The resolution (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEmbeddedDataSourceShapeFieldName

public java.lang.String getEmbeddedDataSourceShapeFieldName()
                                                     throws java.io.IOException,
                                                            AutomationException
Returns the 'Shape' field name of the embedded data sources.

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

searchFromEmbeddedDataSource

public void searchFromEmbeddedDataSource(int index,
                                         IEnvelope pAOI,
                                         double resolution,
                                         IStringArray pSubFields,
                                         IFeatureCursor[] ppCursor,
                                         ILongArray[] ppFieldIndices)
                                  throws java.io.IOException,
                                         AutomationException
Returns a Search Cursor on the specified embedded data source.

Specified by:
searchFromEmbeddedDataSource in interface ITerrain2
Parameters:
index - The index (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
resolution - The resolution (in)
pSubFields - A reference to a com.esri.arcgis.system.IStringArray (in)
ppCursor - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (out: use single element array)
ppFieldIndices - 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.

addDataSource

public void addDataSource(ITerrainDataSource pDataSource)
                   throws java.io.IOException,
                          AutomationException
Adds a reference to a feature class.

Specified by:
addDataSource in interface ITerrainEdit
Parameters:
pDataSource - A reference to a com.esri.arcgis.geodatabaseextensions.ITerrainDataSource (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeDataSource

public void removeDataSource(int index)
                      throws java.io.IOException,
                             AutomationException
Removes reference to a participating feature class.

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

addPyramidLevel

public void addPyramidLevel(ITerrainPyramidLevel pPyramidLevel)
                     throws java.io.IOException,
                            AutomationException
Adds a pyramid level.

Specified by:
addPyramidLevel in interface ITerrainEdit
Parameters:
pPyramidLevel - A reference to a com.esri.arcgis.geodatabaseextensions.ITerrainPyramidLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removePyramidLevel

public void removePyramidLevel(int index)
                        throws java.io.IOException,
                               AutomationException
Removes a pyramid level.

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

changeMaxScale

public void changeMaxScale(int index,
                           int newScale)
                    throws java.io.IOException,
                           AutomationException
Modifies the largest display scale used for a particular level of a terrain pyramid.

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

changeResolutionBounds

public void changeResolutionBounds(int index,
                                   double lowerBound,
                                   double upperBound)
                            throws java.io.IOException,
                                   AutomationException
Change the resolution bounds of a data source.

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

deleteDataSourceData

public void deleteDataSourceData(int index,
                                 IEnvelope pAOI,
                                 ITrackCancel pTrackCancel)
                          throws java.io.IOException,
                                 AutomationException
Removes measurements from a terrain data source (feature class).

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

addDataSourceData

public void addDataSourceData(int index,
                              IEnvelope pAOI,
                              IFeatureClass pInFC,
                              ITrackCancel pTrackCancel)
                       throws java.io.IOException,
                              AutomationException
Appends measurements to a terrain data source (feature class).

Specified by:
addDataSourceData in interface ITerrainEdit
Parameters:
index - The index (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pInFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceDataSourceData

public void replaceDataSourceData(int index,
                                  IEnvelope pAOI,
                                  IFeatureClass pInFC,
                                  ITrackCancel pTrackCancel)
                           throws java.io.IOException,
                                  AutomationException
Replaces measurements from a terrain data source (feature class) with measurements in another feature class.

Specified by:
replaceDataSourceData in interface ITerrainEdit
Parameters:
index - The index (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pInFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

build

public void build(ITrackCancel pTrackCancel)
           throws java.io.IOException,
                  AutomationException
Constructs the terrain.

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

updateExtent

public void updateExtent(ITrackCancel pTrackCancel)
                  throws java.io.IOException,
                         AutomationException
Refresh terrain's extent.

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

changeUsageInOverview

public void changeUsageInOverview(int index,
                                  boolean bApply)
                           throws java.io.IOException,
                                  AutomationException
Change the ApplyToOverviewTerrain property of the specified data source.

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

deleteDataSourceDataByFC

public void deleteDataSourceDataByFC(int index,
                                     java.lang.String pointCountFieldName,
                                     IFeatureClass pFC,
                                     boolean bSparseData,
                                     ITrackCancel pTrackCancel)
                              throws java.io.IOException,
                                     AutomationException
Removes measurements from a terrain data source (feature class).

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

deleteDataSourceData2

public void deleteDataSourceData2(int index,
                                  java.lang.String pointCountFieldName,
                                  IGeometry pAOI,
                                  ITrackCancel pTrackCancel)
                           throws java.io.IOException,
                                  AutomationException
Removes measurements from a terrain data source (feature class).

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

addDataSourceData2

public void addDataSourceData2(int index,
                               java.lang.String pointCountFieldName,
                               IGeometry pAOI,
                               IFeatureClass pInFC,
                               ITrackCancel pTrackCancel)
                        throws java.io.IOException,
                               AutomationException
Appends measurements to terrain data source (feature class).

Specified by:
addDataSourceData2 in interface ITerrainEdit3
Parameters:
index - The index (in)
pointCountFieldName - The pointCountFieldName (in)
pAOI - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pInFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceDataSourceData2

public void replaceDataSourceData2(int index,
                                   java.lang.String pointCountFieldName,
                                   IGeometry pAOI,
                                   IFeatureClass pInFC,
                                   ITrackCancel pTrackCancel)
                            throws java.io.IOException,
                                   AutomationException
Replaces measurements from a terrain data source (feature class) with measurements in another feature class.

Specified by:
replaceDataSourceData2 in interface ITerrainEdit3
Parameters:
index - The index (in)
pointCountFieldName - The pointCountFieldName (in)
pAOI - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pInFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateFieldStatistics

public void calculateFieldStatistics(int index,
                                     IStringArray pFieldNames,
                                     ITrackCancel pTrackCancel)
                              throws java.io.IOException,
                                     AutomationException
Calculate Terrain blob field statistics of the specified embedded data source.

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

changeSchemaLock

public void changeSchemaLock(int schemaLock)
                      throws java.io.IOException,
                             AutomationException
Changes a schema lock.

Specified by:
changeSchemaLock in interface ISchemaLock
Parameters:
schemaLock - A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentSchemaLocks

public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
                           throws java.io.IOException,
                                  AutomationException
The list of current locks.

Specified by:
getCurrentSchemaLocks in interface ISchemaLock
Parameters:
schemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

analyze

public void analyze(int tableComponents)
             throws java.io.IOException,
                    AutomationException
Analyze the data to update/generate DBMS statistics.

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

getAllowableComponents

public int getAllowableComponents()
                           throws java.io.IOException,
                                  AutomationException
The allowable components to be analyzed.

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

getDataElement

public IDEDataset getDataElement()
                          throws java.io.IOException,
                                 AutomationException
The data element corresponding to the dataset component.

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

getParent

public IDataset getParent()
                   throws java.io.IOException,
                          AutomationException
The containing parent dataset.

Specified by:
getParent in interface IDatasetComponent
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.

getMetadata

public IPropertySet getMetadata()
                         throws java.io.IOException,
                                AutomationException
The PropertySet containing metadata.

Specified by:
getMetadata in interface IMetadata
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.

setMetadata

public void setMetadata(IPropertySet propertySet)
                 throws java.io.IOException,
                        AutomationException
The PropertySet containing metadata.

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

synchronize

public void synchronize(int action,
                        int interval)
                 throws java.io.IOException,
                        AutomationException
Updates metadata with the current properties; may create metadata if it doesn't already exist.

Specified by:
synchronize in interface IMetadata
Parameters:
action - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)
interval - The interval (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanEditMetadata

public boolean isCanEditMetadata()
                          throws java.io.IOException,
                                 AutomationException
Indicates if metadata can be edited.

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

getNativeType

public INativeType getNativeType()
                          throws java.io.IOException,
                                 AutomationException
The native type.

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