com.esri.arcgis.geodatabaseextensions
Class TerrainBlockCursor

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.TerrainBlockCursor
All Implemented Interfaces:
ITerrainBlockCursor, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TerrainBlockCursor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITerrainBlockCursor

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

Description 'Esri TerrainBlockCursor object.' 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.geodatabaseextensions.ITerrainBlockCursor
IID, IID3f4fe9ad_471b_4d67_8f8f_930a23a60305, xxDummy
 
Constructor Summary
TerrainBlockCursor(java.lang.Object obj)
          Construct a TerrainBlockCursor using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getBlockCount()
          The number of blocks in the cursor.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void next(int[] pRowBegin, int[] pRowEnd, int[] pColBegin, int[] pColEnd, boolean[] pbIsEnd)
          Returns next block in the form of rows and columns.
 void nextAsTin(ITin[] ppTin, IEnvelope[] ppExtent)
          Returns next block as a reference to a TIN object.
 void release()
          Release a TerrainBlockCursor.
 void reset()
          Resets the cursor to point to the first block.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainBlockCursor

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

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

Throws:
java.io.IOException - if there are interop problems TerrainBlockCursor theTerrainBlockCursor = (TerrainBlockCursor) 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

release

public void release()
Release a TerrainBlockCursor.

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

getBlockCount

public int getBlockCount()
                  throws java.io.IOException,
                         AutomationException
The number of blocks in the cursor.

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

next

public void next(int[] pRowBegin,
                 int[] pRowEnd,
                 int[] pColBegin,
                 int[] pColEnd,
                 boolean[] pbIsEnd)
          throws java.io.IOException,
                 AutomationException
Returns next block in the form of rows and columns.

Specified by:
next in interface ITerrainBlockCursor
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)
pbIsEnd - The pbIsEnd (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextAsTin

public void nextAsTin(ITin[] ppTin,
                      IEnvelope[] ppExtent)
               throws java.io.IOException,
                      AutomationException
Returns next block as a reference to a TIN object.

Specified by:
nextAsTin in interface ITerrainBlockCursor
Parameters:
ppTin - A reference to a com.esri.arcgis.geodatabase.ITin (out: use single element array)
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the cursor to point to the first block.

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