com.esri.arcgis.geodatabaseextensions
Class ITerrainProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabaseextensions.ITerrainProxy
All Implemented Interfaces:
ITerrain, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ITerrain2Proxy

public class ITerrainProxy
extends com.esri.arcgis.interop.Dispatch
implements ITerrain, java.io.Serializable

Internal use class Proxy for COM Interface 'ITerrain'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description: 'Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrain
IID, IIDf657c7ed_fe73_493e_8cf7_845e20cb7d9b
 
Constructor Summary
  ITerrainProxy()
          For internal use only
  ITerrainProxy(java.lang.Object obj)
           
protected ITerrainProxy(java.lang.Object obj, java.lang.String iid)
           
  ITerrainProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ITerrainProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IDynamicSurface createDynamicSurface()
          Returns an implicit surface from which TINs and rasters are derived.
 void extractFromEmbeddedDataSource(int index, IFeatureClass pFeatureClass, IEnvelope pAOI, double resolution, ITrackCancel pTrackCancel)
          Copies features of an embedded data source to the specified feature class.
 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.
 IEnvelope getExtent()
          The approximate xyz extent of the terrain.
 IFeatureDataset getFeatureDataset()
          The feature dataset which contains the terrain.
 int getID()
          The database identifier of the terrain.
 int getMaxOverviewTerrainPoints()
          The maximum number of points in the most generalized representation of a Terrain.
 int getMaxPointsPerShape()
          The maximum number of vertices per multipoint.
 java.lang.String getName()
          The name of the terrain.
 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.
 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 terrain.
 double getTileSize()
          The horizontal distance used to spatially index and partition terrain data.
 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 removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ITerrainProxy

public ITerrainProxy(java.lang.String CLSID,
                     java.lang.String host,
                     com.esri.arcgis.interop.AuthInfo authInfo)
              throws java.net.UnknownHostException,
                     java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ITerrainProxy

public ITerrainProxy()
For internal use only


ITerrainProxy

public ITerrainProxy(java.lang.Object obj)
              throws java.io.IOException
Throws:
java.io.IOException

ITerrainProxy

protected ITerrainProxy(java.lang.Object obj,
                        java.lang.String iid)
                 throws java.io.IOException
Throws:
java.io.IOException

ITerrainProxy

protected ITerrainProxy(java.lang.String CLSID,
                        java.lang.String iid,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getName

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

Specified by:
getName in interface ITerrain
Returns:
The pName
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 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.

getSpatialReference

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

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 approximate xyz extent of the terrain.

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.

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.