com.esri.arcgis.geodatabase
Class Tin

java.lang.Object
  extended by com.esri.arcgis.geodatabase.Tin
All Implemented Interfaces:
IDataset, IGeoDataset, IGeoDatasetSchemaEdit, IMetadata, IMetadataEdit, INativeTypeInfo, ISurface, ITin, ITinAdvanced, ITinAdvanced2, ITinAdvanced3, ITinClock, ITinEdit, ITinEdit2, ITinEditErrorLog, ITinFeatureEdit, ITinNodeCollection, ITinNodeInfo, ITinSelection, ITinSurface, ITinSurface2, ITinSurface3, IFunctionalSurface, IFunctionalSurface3, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class Tin
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataset, IGeoDataset, IGeoDatasetSchemaEdit, IMetadata, IMetadataEdit, ITin, INativeTypeInfo, ISupportErrorInfo, ITinAdvanced, ITinAdvanced2, ITinAdvanced3, ITinNodeCollection, IFunctionalSurface, IFunctionalSurface3, ISurface, ITinSurface, ITinSurface2, ITinSurface3, ITinEdit, ITinEdit2, ITinSelection, ITinFeatureEdit, ITinClock, ITinNodeInfo, ITinEditErrorLog

COM Class 'Tin'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'The Esri TIN 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.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
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinAdvanced2
IID, IID23ffd401_973f_11d5_8111_00c04fa0adf8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinAdvanced
IIDa8523ee8_7b16_11d2_9f4b_00c04f8ece27
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITin
IID73b80fbb_ff33_11d1_a549_0000f8774f0f
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinAdvanced3
IID, IID911fde18_abb0_4f7b_b960_f40dcd527b46, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinNodeCollection
IID, IID9a2a4b72_11cf_11d2_a556_0000f8774f0f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IFunctionalSurface3
IID, IID2c6b9dbb_1c4b_435c_8a85_807eb33553e4, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinSurface2
IID, IID249cd6b0_8441_42e7_bbe6_2cae4a1dac9a, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinSurface
IID73b80fbd_ff33_11d1_a549_0000f8774f0f
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISurface
IID73b80fbc_ff33_11d1_a549_0000f8774f0f
 
Fields inherited from interface com.esri.arcgis.geometry.IFunctionalSurface
IID98d17b10_951c_11d2_bcfc_0000f875bcce
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinSurface3
IID, IID6fc85cbe_929c_4482_8192_2959d4e673cd, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinEdit
IID, IID6615635a_bfab_11d2_9f6d_00c04f8ece27, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinEdit2
IID, IID21c49cc8_3c46_454e_9115_57490fb6ba4f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinSelection
IID, IIDb0dbc8e2_b4b1_11d3_ab4d_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinFeatureEdit
IID, IID73b80fc1_ff33_11d1_a549_0000f8774f0f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinClock
IID, IID75d08ef4_23aa_11d5_aba6_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinNodeInfo
IID, IID11f2c1ac_188b_4a4f_b221_573c1a0c753d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinEditErrorLog
IID, IID0f7f5a1e_5588_40ab_b7f0_777a4b0c8958, xxDummy
 
Constructor Summary
Tin()
          Constructs a Tin using ArcGIS Engine.
Tin(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Tin theTin = (Tin) obj;
 
Method Summary
 void addFrom3dMultipointFeatureClass(IFeatureClass pFeatureClass, ISpatialFilter pClippingFilter)
          Adds features from a 3D multi-point feature class to the TIN.
 void addFromFeatureClass(IFeatureClass pFeatureClass, IQueryFilter pFilter, IField pHeightField, IField pTagValueField, int type, java.lang.Object pbUseShapeZ)
          Adds features from a feature class to the TIN.
 void addFromFeatureCursor(IFeatureCursor pCursor, IField pHeightField, IField pTagValueField, int type, java.lang.Object pbUseShapeZ)
          Adds features from a feature cursor to the TIN.
 void addFromPixelBlock(double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, java.lang.Object valueForNoData, java.lang.Object block, double zTolerance, java.lang.Object pMaxPoints, java.lang.Object[] pbToleranceAchieved)
          Adds pixels from a pixel block to the TIN.
 void addISurfaceIntersectionEventsListener(ISurfaceIntersectionEvents theListener)
          addISurfaceIntersectionEventsListener.
 int addPointZ(IPoint pPoint, int tagValue)
          Adds a 3D point to the TIN.
 void addPointZ(IPoint pPoint, int tagValue, ITinNode pSeed)
          Adds a 3D point to the TIN.
 void addPolygon(IPolygon pShape, int type, int tagValue, int edgeTagValue, int nodeTagValue, ITinTriangle pSeed, java.lang.Object pZ)
          Adds polygon.
 void addPolygonZ(IPolygon pShape, int type, int tagValue, int edgeTagValue, int nodeTagValue, ITinTriangle pSeed)
          Adds Z-aware polygon.
 void addPolyline(IPolyline pShape, int type, int tagValue, int nodeTagValue, ITinEdge pSeed, java.lang.Object pZ)
          Adds polyline.
 void addPolylineZ(IPolyline pShape, int type, int tagValue, int nodeTagValue, ITinEdge pSeed)
          Adds Z-aware polyline.
 void addPolyObjects(IFeatureClass pFeatureClass, IQueryFilter pFilter, IField pHeightField, IField pValueField, boolean bSetEdgeTagValue, boolean bSetNodeTagValue, int type)
          Adds polygons/polylines.
 void addShape(IGeometry pShape, int type, int tagValue, java.lang.Object pZ)
          Adds a 2D shape to the TIN.
 void addShapeZ(IGeometry pShape, int type, int tagValue, java.lang.Object pbUseShapeZ)
          Adds a 3D shape to the TIN.
 int addWKSPointZ(_WKSPointZ pPoint, int vlue)
          Adds a well known structure point to the TIN.
 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 asPolygons(IFeatureClass pFeatureClass, int type, IDoubleArray pClassBreaks, ILongArray pClassCodes, java.lang.Object fieldName)
          Converts the surface to a polygon feature class representing slope or aspect.
 boolean canAdd(IGeometry pShape, double spacing)
          Checks if the specified shape can be added without creating spatial conflict.
 boolean canAddVertex(IGeometry pPoly, IPoint pNewPoint, boolean bClose, double spacing)
          Checks if a new polygon/polyline vertex can be added without creating spatial conflict.
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canDeleteVertex(ITinNode pNode, ITinFeatureSeed pSeed, double spacing)
          Checks if a polygon/polyline vertex can be deleted without creating spatial conflict.
 boolean canMove(ITinFeatureSeed pSeed, double dx, double dy, double spacing)
          Checks if the embedded object can be relocated to a new location without creating spatial conflict.
 boolean canMoveVertex(ITinNode pNode, ITinFeatureSeed pSeed, _WKSPoint pNewLocation, double spacing)
          Checks if a polygon/polyline vertex can be moved to a new location without creating spatial conflict.
 boolean canRename()
          True if this dataset can be renamed.
 boolean canReplace(IGeometry pShape, ITinFeatureSeed pSeed, double spacing)
          Checks if the embedded object can be replaced by the new shape without creating spatial conflict.
 boolean canRotate(ITinFeatureSeed pSeed, IPoint pOrigin, double angle, double spacing)
          Checks if the embedded polyline/polygon can be rotated without creating spatial conflict.
 boolean canScalePolygon(ITinTriangle pSeed, IPoint pOrigin, double scale, double spacing)
          Checks if the embedded polygon can be expanded or shrinked without creating spatial conflict.
 void clearEditErrorLog()
          Clears existing error log contents.
 void clearSelection(int type)
          Clears selected element(s).
 IEnumTinNode clusterPoints(ITinNode pSeed, double spacing, ITinFilter pFilter)
          Finds a cluster of nodes, each node in the group has at least one neighbor, to which the distance is smaller, or equal to, the specified value.
 void contour(double referenceContourHeight, double interval, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint)
          Output contours based on the specified root value and interval.
 void contourList(IDoubleArray pBreaks, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint)
          Output a list of contours corresponding to the specified eleveation values.
 void convertToMultiPatches(IFeatureClass pFeatureClass, int maxPatchSize, int maxStripSize)
          Convert TIN into Multipatches.
 void convertToPolygons(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, boolean bStopAtEnforcedEdge, boolean bSkipDensifiedNodes, java.lang.Object pFieldName)
          Converts qualified triangles to a polygon feature class.
 void convertToPolygons(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, boolean bStopAtEnforcedEdge, java.lang.Object pFieldName)
          Converts similar triangles to a polygon feature class.
 void convertToPolylines(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, boolean bSkipDensifiedNodes, java.lang.Object pFieldName)
          Converts qualified edges to a polyline feature class.
 void convertToPolylines(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, java.lang.Object pFieldName)
          Converts qualified edges to a polyline feature class.
 void convertToVoronoiRegions(IFeatureClass pFeatureClass, ITinFilter pFilter, IPolygon pClippingPolygon, java.lang.String indexFieldName, java.lang.String tagFieldName)
          Writes the set of Voronoi polygons for each node to a feature class.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 void decimateNodes(IEnvelope pAreaOfInterest, double zTolerance, boolean bCopyBreakline, java.lang.Object pMaxRemainingNodeCount, ITin[] ppNewTin, java.lang.Object[] pbToleranceAchieved)
          Outputs a new TIN with reduced number of nodes.
 void decimateNodesByCount(IEnvelope pAreaOfInterest, int maxRemainingNodeCount, boolean bCopyBreakline, ITin[] ppNewTin)
          Outputs a new TIN with reduced number of nodes.
 void delete()
          Deletes this dataset.
 void delete(ITinFeatureSeed pSeed)
          Deletes the embedded point/polygon/polyline represented by the specified seed.
 void deleteEdgeTagValues()
          Deletes all edge tag values in the TIN.
 void deleteNode(int index)
          Deletes a specified node from the TIN.
 void deleteNodesOutsideDataArea()
          Deletes all nodes from outside the TIN interpolation zone.
 void deleteNodeTagValues()
          Deletes all node tag values in the TIN.
 void deleteSelectedNodes()
          Deletes specified nodes from the TIN.
 void deleteTriangleTagValues()
          Deletes all triangle face tag values in the TIN.
 void deleteVertex(ITinNode pNode, ITinFeatureSeed pSeed)
          Deletes the specified vertex from an embedded polygon/polyline.
 boolean equals(java.lang.Object o)
          Compare this object with another
 ITin extract(IPolygon pBoundary, int boundaryEdgeType, int boundaryEdgeValue, boolean bConstrainedDelaunay, boolean bAllowEdgeSwapping)
          Extract part of the TIN.
 ITinPolygon extractPolygon(ITinElement pSeed, ITinFilter pFilter, boolean bStopAtEnforcedEdge)
          Returns a polygon definition based on all contiguous triangles having the same filter criteria.
 IPolygon extractPolygon(ITinFeatureSeed pSeed, boolean bGetZ, boolean bSkipDensifiedNodes)
          Extracts polygon.
 ITinPolyline extractPolyline(ITinEdge pSeed, ITinFilter pFilter)
          Returns a polyline definition based on triangle edges that meet the same filter criteria.
 IPolyline extractPolyline(ITinFeatureSeed pSeed, boolean bGetZ, boolean bSkipDensifiedNodes)
          Extracts polyline.
 ITinNodeArray findNaturalNeighbors(IPoint pPoint)
          Returns the immediate surrounding nodes to the query point.
 ITinTriangle findTriangle(IPoint pPoint)
          The triangle at the specified location.
 int findTriangleIndex(IPoint pPoint)
          The triangle at the specified location.
 ITinTriangleArray findTriangleNeighborhood(IPoint pPoint)
          Returns all triangles whose circumscribed circle contains the query point.
 void flipSelection(int type, boolean bDataElementsOnly)
          Flips current selection of the specified element type in the TIN.
 int generateUniqueTagValue(int type)
          Returns a new, previously unused tag value for the element.
 double getAspectDegrees(IPoint pPoint)
          Returns the aspect at the specified location in degrees.
 double getAspectRadians(IPoint pPoint)
          Returns the aspect at the specified location in radians.
 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.
 void getContour(IPoint pPoint, IPolyline[] ppContour, double[] pElevation)
          Returns a countour passing through the queried point.
 void getCountedUniqueTagValues(int type, ILongArray[] ppValues, ILongArray[] ppCounts)
          Returns unique tag values with counts for the specified element type.
 java.lang.String getCurrentObjectClassName()
          Name representing a group of shapes to be added/edited.
 int getCurrentObjectID()
          ID of the shape to be added/edited.
 IPolygon getDataArea()
          Returns a polygon representing the data area of the TIN.
 int getDataEdgeCount()
          The number of TIN edges that have a data triangle on one side or the other.
 int getDataNodeCount()
          The number of data nodes in the TIN.
 int getDataTriangleCount()
          The number of data triangles in the TIN.
 IPolygon getDomain()
          The interpolation domain of the surface.
 ITinEdge getEdge(int index)
          The edge referenced by the index.
 int getEdgeCount()
          The total number of edges in the TIN.
 int getEdgeTagValue(int index)
          The tag value of the edge referenced by the index.
 void getEdgeType(int edgeIndex, int[] pType)
          Gets the specified edge's type.
 int getEditErrorCount()
          The number of errors.
 double getElapsedTime()
          Return elapsed (since last Reset call) time in seconds.
 int getElementsIgnoredInConflictTest()
          The TIN nodes or edges to be ignored in conflict detection (used by processes such as CanAdd and CanMove).
 double getElevation(IPoint pPoint)
          Returns the z value of the specified location.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 IFields getFields()
          The collection of attribute items of the TIN.
 int getFlag()
          The user-defined flag for the TIN.
 IEnvelope getFullExtent()
          The full 2D-extent of the TIN including NODATA nodes.
 IName getFullName()
          The associated name object.
 double getIntensity(_WKSPointZ pPi, _WKSPointZ pPj, _WKSPointZ pPk)
          Returns the hillshade brightness value of the plane defined by the three points.
 int getInterpolationMethod()
          The elevation interpolation method.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getLeftTriangleIndex(int edgeIndex)
          Gets left triangle index of the specified edge.
 void getLineOfSight(IPoint pObserver, IPoint pTarget, IPoint[] ppObstruction, IPolyline[] ppVisibleLines, IPolyline[] ppInvisibleLines, boolean[] pbIsVisible, boolean bApplyCurvature, boolean bApplyRefraction, java.lang.Object pRefractionFactor)
          Computes the visibility of a line-of-sight from the observer to the target.
 IPropertySet getMetadata()
          The PropertySet containing metadata.
 java.lang.String getName()
          The name of the Dataset.
 INativeType getNativeType()
          The native type.
 double getNaturalNeighborZ(double x, double y)
          Return the z-coordinate of the specified location using Natural Neighbor interpolation.
 int getNeighborEdgeIndex(int edgeIndex)
          Gets neighbor edge index.
 int getNextCCWEdgeIndex(int edgeIndex)
          Gets next counter clockwise edge index.
 int getNextCWEdgeIndex(int edgeIndex)
          Gets next clockwise edge index.
 int getNextEdgeIndexInTriangle(int edgeIndex)
          Gets next edge index in triangle.
 ITinNode getNode(int index)
          The node referenced by the specified index.
 int getNodeCount()
          The total number of nodes in the TIN.
 int getNodeDegree(int nodeIndex, boolean bEnforcedEdgesOnly)
          Returns the degree of the specified node.
 int getNodeEditInfo(int nodeIndex)
          Node info.
 int getNodeSource(int nodeIndex)
          Returns the source of the specified node.
 void getNodeSourceCounts(int[] pcOriginal, int[] pcSuper, int[] pcDensified, int[] pcIntersection, int[] pcUnknown)
          Returns the number of nodes with respect to different sources.
 int getNodeTagValue(int index)
          The tag value of the node referenced by the index.
 double getNodeZ(int index)
          The z value of the node referenced by the index.
 void getPartialVolumeAndArea(double referenceHeight, int type, IEnumTinTriangle pTriangles, java.lang.Object[] pVolume, java.lang.Object[] pSurfaceArea, java.lang.Object[] pProjectedArea)
          Returns portion of the TIN's volume above or below an input z value.
 int getPreviousEdgeIndexInTriangle(int edgeIndex)
          Gets previous edge index in triangle.
 void getProfile(IGeometry pShape, IGeometry[] ppProfile, java.lang.Object pStepSize)
          Returns a polyline with z values interpolated from the surface.
 double getProfileWeedTolerance()
          The profile weeding tolerance.
 double getProjectedArea(double referenceHeight, int type)
          Returns the projected area of the surface above or below an input z value.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 int getRasterInterpolationMethod()
          The elevation interpolation method for rasterization.
 int getRightTriangleIndex(int edgeIndex)
          Gets right triangle index of the specified edge.
 int getSelectedElementCount(int type)
          The number of selected elements.
 IEnumTinElement getSelection(int type)
          Returns an enumerator containing selected elements.
 double getSlopeDegrees(IPoint pPoint)
          Returns the slope at the specified location in degrees.
 double getSlopePercent(IPoint pPoint)
          Returns the slope at the specified location in percent.
 double getSlopeRadians(IPoint pPoint)
          Returns the slope at the specified location in radians.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 void getSpecialEdgeCounts(int[] pcHardDataEdges, int[] pcSoftDataEdges, int[] pcTagValueDataEdges)
          Returns the total number of special edges in the TIN.
 IPolyline getSteepestPath(IPoint pPoint)
          Returns the steepest path downhill from the specified point.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 _WKSPointZ getSunPosition()
          The vector indicating the direction of the light source relative to the scene.
 IEnvelope getSuperNodeExtent()
          The full extent of the TIN based on the super nodes.
 ISurface getSurface()
          The ISurface interface (convenient tool for chaining in VB).
 double getSurfaceArea(double referenceHeight, int type)
          Returns the area measured on its surface above or below an input z value.
 ITinSurfaceElement getSurfaceElement(IPoint pPoint)
          Returns the surface element at the specified location.
 int getTinVersion()
          Returns the version number of the TIN dataset.
 ITrackCancel getTrackCancel()
          The process cancellation on TIN methods.
 ITinTriangle getTriangle(int index)
          The triangle referenced by the index.
 int getTriangleCount()
          The total number of triangles in the TIN.
 IEnumTinTriangle getTriangleSeeds(ITinDynamicFilter pFilter, boolean bStopAtEnforcedEdge)
          Returns one triangle representing each polygon defined by the filter criteria of the TIN.
 int getTriangleTagValue(int index)
          The tag value of the triangle referenced by the index.
 int getType()
          The type of the Dataset.
 int getUniqueTagValueCount(int type)
          The number of unique tag values for the specified element type.
 ILongArray getUniqueTagValues(int type)
          Returns unique tag values for the specified element type.
 int getVersion()
          Returns the version number of the TIN engine used to build the TIN.
 double getVolume(double reference, int type)
          Returns the volume above or below an input z value.
 void getVolumeAndArea(IGeometry pAOI, double referenceHeight, int type, boolean[] pbIsOutsideDataArea, java.lang.Object[] pVolume, java.lang.Object[] pSurfaceArea, java.lang.Object[] pProjectedArea)
          Returns TIN's volume/area above or below an input z value.
 IPolygon getVoronoiRegion(int nodeIndex, IPolygon pClippingPolygon)
          Returns a Voronoi polygon about the node referenced by the index.
 IPolygon getVoronoiRegionNoClip(int nodeIndex)
          Returns a Voronoi polygon about the node referenced by the index.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 double getZ(double x, double y)
          The surface Z = f(x,y).
 double getZFactor()
          Multiplication factor applied to all z values in a TIN to provide unit-congruency between coordinate components.
 boolean hasEdgeType(int type)
          Returns TRUE if the TIN contains the specified edge type.
 int hashCode()
          the hashcode for this object
 boolean hasSelection(int type)
          Indicates if element(s) is/are selected.
 void init(java.lang.String name)
          Opens the specified TIN.
 void initNew(IEnvelope pExtent)
          Initializes a new TIN using the passed extent to define the data area.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void interpolateAsMultiPatch(IPolygon pShape, int maxStripSize, IMultiPatch[] ppMultiPatch)
          Interpolate the input Polygon and output as a Multipatch.
 void interpolateShape(IGeometry pShape, IGeometry[] ppOutShape, java.lang.Object pStepSize)
          Interpolates z values for a defined geometric shape.
 void interpolateShapeVertices(IGeometry pShape, IGeometry[] ppOutShape)
          Interpolates z values for a defined geometric shape at its vertices only.
 double interpolateZ(double x, double y)
          Interpolate the z-coordinate of the specified location.
 void intersect(ITinSurface pReferenceSurface, IGeometry pAOI, IFeatureClass pOutFeatureClass, java.lang.String volumeFieldName, java.lang.String surfaceAreaFieldName, java.lang.String codeFieldName)
          Intersect with a reference TIN.
 boolean isCanAlterSpatialReference()
          Indicates if the spatial reference of the dataset can be altered.
 boolean isCanEditMetadata()
          Indicates if metadata can be edited.
 boolean isDelaunay()
          Indicates if TIN was constructed using Delaunay triangulation.
 boolean isDirty()
          Indicates if the TIN is dirty.
 boolean isEdgeInsideDataArea(int edgeIndex)
          Returns TRUE if the edge is inside data area.
 boolean isEditable()
          Indicates if the TIN can be edited.
 boolean isEmpty()
          Indicates if the TIN contains no data.
 boolean isHasEdgeTagValues()
          Indicates if the TIN dataset has edge tag values.
 boolean isHasNodeTagValues()
          Indicates if the TIN dataset has node tag values.
 boolean isHasTriangleTagValues()
          Indicates if the TIN dataset has triangle tag values.
 boolean isInEditMode()
          Indicates if the TIN is in edit mode.
 boolean isInMemoryEditMode()
          Indicates if the specified TIN is in in-memory-edit mode.
 boolean isNodeInsideDataArea(int nodeIndex)
          Returns TRUE if the node is inside data area.
 boolean isNodeOnDomainBoundary(int nodeIndex)
          Returns TRUE if the specified node is on domain's boundary.
 boolean isNodeShared(ITinNode pNode)
          Returns TRUE if specified node is shared by more than two enforced edges.
 boolean isProcessCancelled()
          Indicates if a process has been cancelled.
 boolean isSelected(int index, int type)
          Returns TRUE if the element referenced by the index is selected.
 boolean isStopAtEnforcedEdge()
          Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.
 boolean isStopAtJuncture()
          Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.
 boolean isTriangleInsideDataArea(int triangleIndex)
          Returns TRUE if the triangle is inside data area.
 boolean isVoidZ(double value)
          Indicates if the passed value is equal to the TIN's void value.
 IPoint locate(IRay pRay, int hint)
          Returns the intersection of the query ray and the surface.
 IDoubleArray locateAll(IRay pRay, int hint)
          Returns the distances of intersections of the query ray and the surface.
 IMultipoint locateMultiple(IRay pRay)
          Returns the intersections of the query ray and the surface.
 IEnumTinEdge makeEdgeEnumerator(IEnvelope pAreaOfInterest, int criteria, ITinFilter pFilter)
          Makes an edge enumerator based on the extent of the envelope.
 IEnumTinNode makeNodeEnumerator(IEnvelope pAreaOfInterest, int criteria, ITinFilter pFilter)
          Makes a node enumerator based on the extent of the envelope.
 IEnumTinTriangle makeTriangleEnumerator(IEnvelope pAreaOfInterest, int criteria, ITinFilter pFilter)
          Makes a triangle enumerator based on the extent of the envelope.
 void merge(ITinEdge pCommonEdge, int newValue, boolean bKeepCommonNodes)
          Merges two embedded polygons sharing the specified common edge.
 void move(ITinFeatureSeed pSeed, double dx, double dy, boolean bGetNewZ)
          Moves the embedded point/polygon/polyline represented by the specified seed.
 void moveVertex(ITinNode pNode, ITinFeatureSeed pSeed, _WKSPoint pNewLocation, boolean bGetNewZ)
          Moves the specified vertex of an embedded polygon/polyline to a new location.
 void propagateTriangleTagValue(ITinTriangle pSeed, int newTagValue, boolean bStopAtEnforcedEdge)
          Propagates triangle tag value changes to all immediate triangles with the same initial value.
 void queryAdjacentVertices(ITinFeatureSeed pSeedEdge, ITinNode pBehind, ITinNode pFront)
          Queries the first two non-densified nodes of a line segment represented by the specified edge).
 void queryAllEdgeIndicesAroundNode(int nodeIndex, ILongArray pEdges)
          Returns all edges connected to the specified node.
 void queryBeginEndNodeIndices(int edgeIndex, int[] pBegin, int[] pEnd)
          Gets begin and end nodes of the specified edge.
 void queryEdge(int index, ITinEdge pEdge)
          The edge equal to that referenced by the index.
 void queryEdgeAsLine(int index, ILine pLine)
          The line equal to the edge referenced by the index.
 void queryEdgeAsWKSPointZs(int index, _WKSPointZ[] pFrom, _WKSPointZ[] pTo)
          The points equal to the end points of the edge referenced by the index.
 void queryEdgeIndicesAroundNode(int nodeIndex, ILongArray pEdges)
          Returns all edges having the specified node as begin node.
 void queryElementAsGeometry(int type, int index, IGeometry pGeometry)
          Output the specified TIN element as Geometry object.
 void queryElementIndicesAroundNode(int type, int localNodeIndex, int triangleIndex, ILongArray pIndices)
          Returns the indices of all elements connected to the specified node.
 void queryLocate(IRay pRay, int hint, IPoint pLocation)
          Returns the first intersection of the query ray and the TIN.
 void queryLocateWithinDistance(IRay pRay, double maxDistance, IGeometry pLocations)
          Returns the intersections of the query ray and the TIN.
 void queryNaturalNeighborIndices(IPoint pPoint, ILongArray pNodes)
          Returns all Natural Neighbors corresponding to the query point.
 void queryNearestEdge(IPoint pPoint, ITinEdge pEdge, double[] pDistance)
          Finds and returns the nearest edge to the query point.
 void queryNearestNode(IPoint pPoint, ITinNode pNode, double[] pDistance)
          Finds and returns the nearest node to the query point.
 void queryNeighborsAndWeights(double x, double y, ILongArray pNeighbors, IDoubleArray pWeights)
          Returns natural neighbors and their weights corresponding to the query point.
 void queryNode(int index, ITinNode pNode)
          Queries the node equal to that specified by the index.
 void queryNodeAsPoint(int index, IPoint pPoint)
          Queries the point equal to that specified by the index.
 void queryNodeAsWKSPointZ(int index, _WKSPointZ[] pPoint)
          Queries the point equal to that specified by the index.
 void queryNodeIndicesAroundNode(int nodeIndex, ILongArray pNodes)
          Returns all nodes connected to the specified node.
 void queryNormal(IPoint pLocation, IVector3D pNormal)
          Returns the vector normal to the specified triangle.
 void queryPixelBlock(double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, int type, java.lang.Object valueForNoData, java.lang.Object block)
          Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.
 void querySelectionExtent(int type, IEnvelope pExtent)
          Returns the extent of the selected elements.
 void querySurfaceLength(IGeometry pShape, double[] pLength, java.lang.Object pStepSize)
          Returns the length of an input polyline measured on the surface.
 void queryTriangle(int index, ITinTriangle pTriangle)
          The triangle equal to that referenced by the index.
 void queryTriangleAsRing(int index, IRing pRing)
          The ring equal to the triangle referenced by the index.
 void queryTriangleAsWKSPointZs(int index, _WKSPointZ[] pPi, _WKSPointZ[] pPj, _WKSPointZ[] pPk)
          Queries the points equal to the nodes of the triangle referenced by the index.
 void queryTriangleEdgeIndices(int triangleIndex, int[] pA, int[] pB, int[] pC)
          Gets the three edges of the specified triangle (clockwise).
 void queryTriangleIndicesAroundNode(int nodeIndex, ILongArray pTriangles)
          Returns all triangles sharing the specified node.
 void queryTriangleNeighborhoodIndices(IPoint pPoint, ILongArray pTriangles)
          Returns all triangles whose circumscribed circle contains the query point.
 void queryTriangleNodeIndices(int triangleIndex, int[] pA, int[] pB, int[] pC)
          Gets the three nodes of the specified triangle (clockwise).
 void queryTriangleNormal(int triangle, IVector3D pNormal)
          Returns the vector normal to the specified triangle.
 void refresh()
          Updates TIN's extents, data area, and data elements count.
 void refreshTagValues()
          Refresh cached TIN tag values.
 void release()
          Release a Tin.
 void removeIslands(ITinTriangle pSeed, double area, boolean bKeepNodes, boolean bZeroTag)
          Removes islands whose area is smaller than the specified value, from the embedded polygon represented by the specified seed.
 void removeISurfaceIntersectionEventsListener(ISurfaceIntersectionEvents theListener)
          removeISurfaceIntersectionEventsListener.
 void rename(java.lang.String name)
          Renames this Dataset.
 void reset()
          Reset clock.
 void resetExtent(IEnvelope pExtent)
          Reset TIN's extent.
 void rotate(ITinFeatureSeed pSeed, IPoint pOrigin, double angle, boolean bGetNewZ)
          Rotates the embedded polygon/polyline represented by the specified seed.
 void save()
          Saves edits to disk.
 void saveAs(java.lang.String newName, java.lang.Object pOverWrite)
          Saves the TIN to disk using the specified name.
 void saveAsVersion(java.lang.String newName, int ver, java.lang.Object pOverWrite)
          Saves the TIN to disk using the specified (full path) name.
 void saveEditErrorLog(java.lang.String fileName)
          Saves error log contents to a file.
 void saveSnapshot(java.lang.String name, boolean bOverWrite)
          Saves a snapshot of the TIN that is been edited to disk.
 void scalePolygon(ITinTriangle pSeed, IPoint pOrigin, double scale, boolean bGetNewZ)
          Expands or shrinks the embedded polygon represented by the specified seed.
 void selectAll(int type, boolean bDataElementsOnly)
          Selects all elements of the specified element type in the TIN.
 void selectByArea(int type, IPolygon pArea, boolean bPassThrough, boolean bDataElementsOnly, int action)
          Selects all elements of the specified element type in a specified polygonal area.
 void selectByEnvelope(int type, IEnvelope pEnvelope, boolean bPassThrough, boolean bDataElementsOnly, int action)
          Selects all elements of the specified element type in a specified rectangular envelope.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setCurrentObjectClassName(java.lang.String pName)
          Name representing a group of shapes to be added/edited.
 void setCurrentObjectID(int pID)
          ID of the shape to be added/edited.
 void setEdgeTagValue(int index, int value)
          Sets the tag value of the triangle edge referenced by the index.
 void setEdgeType(int index, int type)
          Sets the type of the triangle edge referenced by the TIN.
 void setElementsIgnoredInConflictTest(int pElementsExcluded)
          The TIN nodes or edges to be ignored in conflict detection (used by processes such as CanAdd and CanMove).
 void setEmpty()
          Uninitializes the TIN.
 void setFlag(int pFlag)
          The user-defined flag for the TIN.
 void setInterpolationMethod(int pType)
          The elevation interpolation method.
 void setMetadata(IPropertySet propertySet)
          The PropertySet containing metadata.
 void setNodeTagValue(int index, int value)
          Sets the tag value of a TIN node referenced by the index.
 void setNodeZ(int index, double z)
          Sets the z value of a TIN node referenced by the index.
 void setProcessCancelled(boolean pbCancelled)
          Indicates if a process has been cancelled.
 void setProfileWeedTolerance(double pTolerance)
          The profile weeding tolerance.
 void setRasterInterpolationMethod(int pType)
          The elevation interpolation method for rasterization.
 void setSelected(int index, int type, int action)
          Selects the element referenced by the index.
 void setSelection(IEnumTinElement pElements, int action)
          Selects elements returned by the enumerator.
 void setSpatialReference(ISpatialReference pSpatialReference)
          Set a copy of the specified spatial reference to the TIN.
 void setStopAtEnforcedEdge(boolean pbStop)
          Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.
 void setStopAtJuncture(boolean pbStop)
          Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.
 void setSunPosition(_WKSPointZ pPosition)
          The vector indicating the direction of the light source relative to the scene.
 void setToConstrainedDelaunay()
          Apply constrained Delaunay from now on.
 void setTrackCancelByRef(ITrackCancel ppTrackCancle)
          The process cancellation on TIN methods.
 void setTriangleInsideDataArea(int index)
          Sets a triangle within the TIN interpolation zone.
 void setTriangleOutsideDataArea(int index)
          Sets a triangle outside of the TIN interpolation zone.
 void setTrianglesInsideDataArea()
          Sets all triangles within the TIN interpolation zone.
 void setTriangleTagValue(int index, int value)
          Sets the face tag value of the triangle referenced by the index.
 void setZFactor(double pFactor)
          Multiplication factor applied to all z values in a TIN to provide unit-congruency between coordinate components.
 void sleep(double seconds)
          Suspends the execution of the current thread for the specified interval (in seconds).
 boolean startEditing()
          Initiates edit mode.
 boolean startInMemoryEditing()
          Initiates memory edit mode.
 boolean stopEditing(boolean bSaveEdits)
          Terminates edit mode, optionally saving changes to disk.
 int swapEdge(int index, int type, int tag)
          Swap the specified edge and set the TIN as constrained Delaunay triangulation.
 void synchronize(int action, int interval)
          Updates metadata with the current properties; may create metadata if it doesn't already exist.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tin

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

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

Tin

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

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

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

addISurfaceIntersectionEventsListener

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

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

removeISurfaceIntersectionEventsListener

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

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

release

public void release()
Release a Tin.

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

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.

isEmpty

public boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates if the TIN contains no data.

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

isDelaunay

public boolean isDelaunay()
                   throws java.io.IOException,
                          AutomationException
Indicates if TIN was constructed using Delaunay triangulation.

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

saveAs

public void saveAs(java.lang.String newName,
                   java.lang.Object pOverWrite)
            throws java.io.IOException,
                   AutomationException
Saves the TIN to disk using the specified name.

Specified by:
saveAs in interface ITin
Specified by:
saveAs in interface ITinEdit
Parameters:
newName - The newName (in)
pOverWrite - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataNodeCount

public int getDataNodeCount()
                     throws java.io.IOException,
                            AutomationException
The number of data nodes in the TIN.

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

getDataEdgeCount

public int getDataEdgeCount()
                     throws java.io.IOException,
                            AutomationException
The number of TIN edges that have a data triangle on one side or the other.

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

getDataTriangleCount

public int getDataTriangleCount()
                         throws java.io.IOException,
                                AutomationException
The number of data triangles in the TIN.

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

getZFactor

public double getZFactor()
                  throws java.io.IOException,
                         AutomationException
Multiplication factor applied to all z values in a TIN to provide unit-congruency between coordinate components.

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

setZFactor

public void setZFactor(double pFactor)
                throws java.io.IOException,
                       AutomationException
Multiplication factor applied to all z values in a TIN to provide unit-congruency between coordinate components.

Specified by:
setZFactor in interface ISurface
Specified by:
setZFactor in interface ITin
Parameters:
pFactor - The pFactor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public int getVersion()
               throws java.io.IOException,
                      AutomationException
Returns the version number of the TIN engine used to build the TIN.

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

isHasNodeTagValues

public boolean isHasNodeTagValues()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the TIN dataset has node tag values.

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

isHasEdgeTagValues

public boolean isHasEdgeTagValues()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the TIN dataset has edge tag values.

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

isHasTriangleTagValues

public boolean isHasTriangleTagValues()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the TIN dataset has triangle tag values.

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

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The collection of attribute items of the TIN.

Specified by:
getFields in interface ITin
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
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.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackCancel

public ITrackCancel getTrackCancel()
                            throws java.io.IOException,
                                   AutomationException
The process cancellation on TIN methods.

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

setTrackCancelByRef

public void setTrackCancelByRef(ITrackCancel ppTrackCancle)
                         throws java.io.IOException,
                                AutomationException
The process cancellation on TIN methods.

Specified by:
setTrackCancelByRef in interface ITinAdvanced
Parameters:
ppTrackCancle - 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.

isProcessCancelled

public boolean isProcessCancelled()
                           throws java.io.IOException,
                                  AutomationException
Indicates if a process has been cancelled.

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

setProcessCancelled

public void setProcessCancelled(boolean pbCancelled)
                         throws java.io.IOException,
                                AutomationException
Indicates if a process has been cancelled.

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

getSurface

public ISurface getSurface()
                    throws java.io.IOException,
                           AutomationException
The ISurface interface (convenient tool for chaining in VB).

Specified by:
getSurface in interface ITinAdvanced
Returns:
A reference to a com.esri.arcgis.geodatabase.ISurface
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
Uninitializes the TIN.

Specified by:
setEmpty in interface ITinAdvanced
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 TIN.

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

setFlag

public void setFlag(int pFlag)
             throws java.io.IOException,
                    AutomationException
The user-defined flag for the TIN.

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

getFlag

public int getFlag()
            throws java.io.IOException,
                   AutomationException
The user-defined flag for the TIN.

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

getFullExtent

public IEnvelope getFullExtent()
                        throws java.io.IOException,
                               AutomationException
The full 2D-extent of the TIN including NODATA nodes.

Specified by:
getFullExtent in interface ITinAdvanced
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.

getSuperNodeExtent

public IEnvelope getSuperNodeExtent()
                             throws java.io.IOException,
                                    AutomationException
The full extent of the TIN based on the super nodes.

Specified by:
getSuperNodeExtent in interface ITinAdvanced
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.

isVoidZ

public boolean isVoidZ(double value)
                throws java.io.IOException,
                       AutomationException
Indicates if the passed value is equal to the TIN's void value.

Specified by:
isVoidZ in interface ISurface
Specified by:
isVoidZ in interface ITinAdvanced
Parameters:
value - The value (in)
Returns:
The pbIsVoid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeNodeEnumerator

public IEnumTinNode makeNodeEnumerator(IEnvelope pAreaOfInterest,
                                       int criteria,
                                       ITinFilter pFilter)
                                throws java.io.IOException,
                                       AutomationException
Makes a node enumerator based on the extent of the envelope.

Specified by:
makeNodeEnumerator in interface ITinAdvanced
Parameters:
pAreaOfInterest - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
criteria - The criteria (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeEdgeEnumerator

public IEnumTinEdge makeEdgeEnumerator(IEnvelope pAreaOfInterest,
                                       int criteria,
                                       ITinFilter pFilter)
                                throws java.io.IOException,
                                       AutomationException
Makes an edge enumerator based on the extent of the envelope.

Specified by:
makeEdgeEnumerator in interface ITinAdvanced
Parameters:
pAreaOfInterest - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
criteria - The criteria (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinEdge
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeTriangleEnumerator

public IEnumTinTriangle makeTriangleEnumerator(IEnvelope pAreaOfInterest,
                                               int criteria,
                                               ITinFilter pFilter)
                                        throws java.io.IOException,
                                               AutomationException
Makes a triangle enumerator based on the extent of the envelope.

Specified by:
makeTriangleEnumerator in interface ITinAdvanced
Parameters:
pAreaOfInterest - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
criteria - The criteria (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeCount

public int getNodeCount()
                 throws java.io.IOException,
                        AutomationException
The total number of nodes in the TIN.

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

getNode

public ITinNode getNode(int index)
                 throws java.io.IOException,
                        AutomationException
The node referenced by the specified index.

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

queryNode

public void queryNode(int index,
                      ITinNode pNode)
               throws java.io.IOException,
                      AutomationException
Queries the node equal to that specified by the index.

Specified by:
queryNode in interface ITinAdvanced
Specified by:
queryNode in interface ITinNodeCollection
Parameters:
index - The index (in)
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNodeAsPoint

public void queryNodeAsPoint(int index,
                             IPoint pPoint)
                      throws java.io.IOException,
                             AutomationException
Queries the point equal to that specified by the index.

Specified by:
queryNodeAsPoint in interface ITinAdvanced
Specified by:
queryNodeAsPoint in interface ITinNodeCollection
Parameters:
index - The index (in)
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNodeAsWKSPointZ

public void queryNodeAsWKSPointZ(int index,
                                 _WKSPointZ[] pPoint)
                          throws java.io.IOException,
                                 AutomationException
Queries the point equal to that specified by the index.

Specified by:
queryNodeAsWKSPointZ in interface ITinAdvanced
Specified by:
queryNodeAsWKSPointZ in interface ITinNodeCollection
Parameters:
index - The index (in)
pPoint - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeZ

public double getNodeZ(int index)
                throws java.io.IOException,
                       AutomationException
The z value of the node referenced by the index.

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

getNodeTagValue

public int getNodeTagValue(int index)
                    throws java.io.IOException,
                           AutomationException
The tag value of the node referenced by the index.

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

getEdgeCount

public int getEdgeCount()
                 throws java.io.IOException,
                        AutomationException
The total number of edges in the TIN.

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

getEdge

public ITinEdge getEdge(int index)
                 throws java.io.IOException,
                        AutomationException
The edge referenced by the index.

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

queryEdge

public void queryEdge(int index,
                      ITinEdge pEdge)
               throws java.io.IOException,
                      AutomationException
The edge equal to that referenced by the index.

Specified by:
queryEdge in interface ITinAdvanced
Parameters:
index - The index (in)
pEdge - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryEdgeAsLine

public void queryEdgeAsLine(int index,
                            ILine pLine)
                     throws java.io.IOException,
                            AutomationException
The line equal to the edge referenced by the index.

Specified by:
queryEdgeAsLine in interface ITinAdvanced
Parameters:
index - The index (in)
pLine - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryEdgeAsWKSPointZs

public void queryEdgeAsWKSPointZs(int index,
                                  _WKSPointZ[] pFrom,
                                  _WKSPointZ[] pTo)
                           throws java.io.IOException,
                                  AutomationException
The points equal to the end points of the edge referenced by the index.

Specified by:
queryEdgeAsWKSPointZs in interface ITinAdvanced
Parameters:
index - The index (in)
pFrom - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pTo - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdgeTagValue

public int getEdgeTagValue(int index)
                    throws java.io.IOException,
                           AutomationException
The tag value of the edge referenced by the index.

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

getEdgeType

public void getEdgeType(int edgeIndex,
                        int[] pType)
                 throws java.io.IOException,
                        AutomationException
Gets the specified edge's type.

Specified by:
getEdgeType in interface ITinAdvanced
Parameters:
edgeIndex - The edgeIndex (in)
pType - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTriangleCount

public int getTriangleCount()
                     throws java.io.IOException,
                            AutomationException
The total number of triangles in the TIN.

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

getTriangle

public ITinTriangle getTriangle(int index)
                         throws java.io.IOException,
                                AutomationException
The triangle referenced by the index.

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

queryTriangle

public void queryTriangle(int index,
                          ITinTriangle pTriangle)
                   throws java.io.IOException,
                          AutomationException
The triangle equal to that referenced by the index.

Specified by:
queryTriangle in interface ITinAdvanced
Parameters:
index - The index (in)
pTriangle - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleAsRing

public void queryTriangleAsRing(int index,
                                IRing pRing)
                         throws java.io.IOException,
                                AutomationException
The ring equal to the triangle referenced by the index.

Specified by:
queryTriangleAsRing in interface ITinAdvanced
Parameters:
index - The index (in)
pRing - A reference to a com.esri.arcgis.geometry.IRing (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleAsWKSPointZs

public void queryTriangleAsWKSPointZs(int index,
                                      _WKSPointZ[] pPi,
                                      _WKSPointZ[] pPj,
                                      _WKSPointZ[] pPk)
                               throws java.io.IOException,
                                      AutomationException
Queries the points equal to the nodes of the triangle referenced by the index.

Specified by:
queryTriangleAsWKSPointZs in interface ITinAdvanced
Parameters:
index - The index (in)
pPi - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pPj - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pPk - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTriangleTagValue

public int getTriangleTagValue(int index)
                        throws java.io.IOException,
                               AutomationException
The tag value of the triangle referenced by the index.

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

queryNearestNode

public void queryNearestNode(IPoint pPoint,
                             ITinNode pNode,
                             double[] pDistance)
                      throws java.io.IOException,
                             AutomationException
Finds and returns the nearest node to the query point.

Specified by:
queryNearestNode in interface ITinAdvanced
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pDistance - The pDistance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNearestEdge

public void queryNearestEdge(IPoint pPoint,
                             ITinEdge pEdge,
                             double[] pDistance)
                      throws java.io.IOException,
                             AutomationException
Finds and returns the nearest edge to the query point.

Specified by:
queryNearestEdge in interface ITinAdvanced
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pEdge - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
pDistance - The pDistance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findTriangle

public ITinTriangle findTriangle(IPoint pPoint)
                          throws java.io.IOException,
                                 AutomationException
The triangle at the specified location.

Specified by:
findTriangle in interface ITinAdvanced
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findNaturalNeighbors

public ITinNodeArray findNaturalNeighbors(IPoint pPoint)
                                   throws java.io.IOException,
                                          AutomationException
Returns the immediate surrounding nodes to the query point.

Specified by:
findNaturalNeighbors in interface ITinAdvanced
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinNodeArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findTriangleNeighborhood

public ITinTriangleArray findTriangleNeighborhood(IPoint pPoint)
                                           throws java.io.IOException,
                                                  AutomationException
Returns all triangles whose circumscribed circle contains the query point.

Specified by:
findTriangleNeighborhood in interface ITinAdvanced
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractPolyline

public ITinPolyline extractPolyline(ITinEdge pSeed,
                                    ITinFilter pFilter)
                             throws java.io.IOException,
                                    AutomationException
Returns a polyline definition based on triangle edges that meet the same filter criteria.

Specified by:
extractPolyline in interface ITinAdvanced
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractPolygon

public ITinPolygon extractPolygon(ITinElement pSeed,
                                  ITinFilter pFilter,
                                  boolean bStopAtEnforcedEdge)
                           throws java.io.IOException,
                                  AutomationException
Returns a polygon definition based on all contiguous triangles having the same filter criteria.

Specified by:
extractPolygon in interface ITinAdvanced
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinElement (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
bStopAtEnforcedEdge - The bStopAtEnforcedEdge (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinPolygon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTriangleSeeds

public IEnumTinTriangle getTriangleSeeds(ITinDynamicFilter pFilter,
                                         boolean bStopAtEnforcedEdge)
                                  throws java.io.IOException,
                                         AutomationException
Returns one triangle representing each polygon defined by the filter criteria of the TIN.

Specified by:
getTriangleSeeds in interface ITinAdvanced
Parameters:
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinDynamicFilter (in)
bStopAtEnforcedEdge - The bStopAtEnforcedEdge (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToPolygons

public void convertToPolygons(IFeatureClass pFeatureClass,
                              ITinDynamicFilter pFilter,
                              boolean bStopAtEnforcedEdge,
                              java.lang.Object pFieldName)
                       throws java.io.IOException,
                              AutomationException
Converts similar triangles to a polygon feature class.

Specified by:
convertToPolygons in interface ITinAdvanced
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinDynamicFilter (in)
bStopAtEnforcedEdge - The bStopAtEnforcedEdge (in)
pFieldName - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataArea

public IPolygon getDataArea()
                     throws java.io.IOException,
                            AutomationException
Returns a polygon representing the data area of the TIN.

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

getUniqueTagValueCount

public int getUniqueTagValueCount(int type)
                           throws java.io.IOException,
                                  AutomationException
The number of unique tag values for the specified element type.

Specified by:
getUniqueTagValueCount in interface ITinAdvanced
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUniqueTagValues

public ILongArray getUniqueTagValues(int type)
                              throws java.io.IOException,
                                     AutomationException
Returns unique tag values for the specified element type.

Specified by:
getUniqueTagValues in interface ITinAdvanced
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateUniqueTagValue

public int generateUniqueTagValue(int type)
                           throws java.io.IOException,
                                  AutomationException
Returns a new, previously unused tag value for the element.

Specified by:
generateUniqueTagValue in interface ITinAdvanced
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeSource

public int getNodeSource(int nodeIndex)
                  throws java.io.IOException,
                         AutomationException
Returns the source of the specified node.

Specified by:
getNodeSource in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
Returns:
A com.esri.arcgis.geodatabase.esriTinNodeSourceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeSourceCounts

public void getNodeSourceCounts(int[] pcOriginal,
                                int[] pcSuper,
                                int[] pcDensified,
                                int[] pcIntersection,
                                int[] pcUnknown)
                         throws java.io.IOException,
                                AutomationException
Returns the number of nodes with respect to different sources.

Specified by:
getNodeSourceCounts in interface ITinAdvanced2
Parameters:
pcOriginal - The pcOriginal (out: use single element array)
pcSuper - The pcSuper (out: use single element array)
pcDensified - The pcDensified (out: use single element array)
pcIntersection - The pcIntersection (out: use single element array)
pcUnknown - The pcUnknown (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeDegree

public int getNodeDegree(int nodeIndex,
                         boolean bEnforcedEdgesOnly)
                  throws java.io.IOException,
                         AutomationException
Returns the degree of the specified node.

Specified by:
getNodeDegree in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
bEnforcedEdgesOnly - The bEnforcedEdgesOnly (in)
Returns:
The pDegree
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNodeOnDomainBoundary

public boolean isNodeOnDomainBoundary(int nodeIndex)
                               throws java.io.IOException,
                                      AutomationException
Returns TRUE if the specified node is on domain's boundary.

Specified by:
isNodeOnDomainBoundary in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
Returns:
The pbIsOn
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpecialEdgeCounts

public void getSpecialEdgeCounts(int[] pcHardDataEdges,
                                 int[] pcSoftDataEdges,
                                 int[] pcTagValueDataEdges)
                          throws java.io.IOException,
                                 AutomationException
Returns the total number of special edges in the TIN.

Specified by:
getSpecialEdgeCounts in interface ITinAdvanced2
Parameters:
pcHardDataEdges - The pcHardDataEdges (out: use single element array)
pcSoftDataEdges - The pcSoftDataEdges (out: use single element array)
pcTagValueDataEdges - The pcTagValueDataEdges (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasEdgeType

public boolean hasEdgeType(int type)
                    throws java.io.IOException,
                           AutomationException
Returns TRUE if the TIN contains the specified edge type.

Specified by:
hasEdgeType in interface ITinAdvanced2
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
Returns:
The pbHasType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLeftTriangleIndex

public int getLeftTriangleIndex(int edgeIndex)
                         throws java.io.IOException,
                                AutomationException
Gets left triangle index of the specified edge.

Specified by:
getLeftTriangleIndex in interface ITinAdvanced2
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRightTriangleIndex

public int getRightTriangleIndex(int edgeIndex)
                          throws java.io.IOException,
                                 AutomationException
Gets right triangle index of the specified edge.

Specified by:
getRightTriangleIndex in interface ITinAdvanced2
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBeginEndNodeIndices

public void queryBeginEndNodeIndices(int edgeIndex,
                                     int[] pBegin,
                                     int[] pEnd)
                              throws java.io.IOException,
                                     AutomationException
Gets begin and end nodes of the specified edge.

Specified by:
queryBeginEndNodeIndices in interface ITinAdvanced2
Parameters:
edgeIndex - The edgeIndex (in)
pBegin - The pBegin (out: use single element array)
pEnd - The pEnd (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNeighborEdgeIndex

public int getNeighborEdgeIndex(int edgeIndex)
                         throws java.io.IOException,
                                AutomationException
Gets neighbor edge index.

Specified by:
getNeighborEdgeIndex in interface ITinAdvanced2
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pNeighbor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleNodeIndices

public void queryTriangleNodeIndices(int triangleIndex,
                                     int[] pA,
                                     int[] pB,
                                     int[] pC)
                              throws java.io.IOException,
                                     AutomationException
Gets the three nodes of the specified triangle (clockwise).

Specified by:
queryTriangleNodeIndices in interface ITinAdvanced2
Parameters:
triangleIndex - The triangleIndex (in)
pA - The pA (out: use single element array)
pB - The pB (out: use single element array)
pC - The pC (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleEdgeIndices

public void queryTriangleEdgeIndices(int triangleIndex,
                                     int[] pA,
                                     int[] pB,
                                     int[] pC)
                              throws java.io.IOException,
                                     AutomationException
Gets the three edges of the specified triangle (clockwise).

Specified by:
queryTriangleEdgeIndices in interface ITinAdvanced2
Parameters:
triangleIndex - The triangleIndex (in)
pA - The pA (out: use single element array)
pB - The pB (out: use single element array)
pC - The pC (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNodeIndicesAroundNode

public void queryNodeIndicesAroundNode(int nodeIndex,
                                       ILongArray pNodes)
                                throws java.io.IOException,
                                       AutomationException
Returns all nodes connected to the specified node.

Specified by:
queryNodeIndicesAroundNode in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
pNodes - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryEdgeIndicesAroundNode

public void queryEdgeIndicesAroundNode(int nodeIndex,
                                       ILongArray pEdges)
                                throws java.io.IOException,
                                       AutomationException
Returns all edges having the specified node as begin node.

Specified by:
queryEdgeIndicesAroundNode in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
pEdges - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAllEdgeIndicesAroundNode

public void queryAllEdgeIndicesAroundNode(int nodeIndex,
                                          ILongArray pEdges)
                                   throws java.io.IOException,
                                          AutomationException
Returns all edges connected to the specified node. If the last edge in the array has negative value, then its end node, instead of begin node, is the specified node.

Specified by:
queryAllEdgeIndicesAroundNode in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
pEdges - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleIndicesAroundNode

public void queryTriangleIndicesAroundNode(int nodeIndex,
                                           ILongArray pTriangles)
                                    throws java.io.IOException,
                                           AutomationException
Returns all triangles sharing the specified node.

Specified by:
queryTriangleIndicesAroundNode in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
pTriangles - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNaturalNeighborIndices

public void queryNaturalNeighborIndices(IPoint pPoint,
                                        ILongArray pNodes)
                                 throws java.io.IOException,
                                        AutomationException
Returns all Natural Neighbors corresponding to the query point.

Specified by:
queryNaturalNeighborIndices in interface ITinAdvanced2
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pNodes - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleNeighborhoodIndices

public void queryTriangleNeighborhoodIndices(IPoint pPoint,
                                             ILongArray pTriangles)
                                      throws java.io.IOException,
                                             AutomationException
Returns all triangles whose circumscribed circle contains the query point.

Specified by:
queryTriangleNeighborhoodIndices in interface ITinAdvanced2
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTriangles - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryElementAsGeometry

public void queryElementAsGeometry(int type,
                                   int index,
                                   IGeometry pGeometry)
                            throws java.io.IOException,
                                   AutomationException
Output the specified TIN element as Geometry object.

Specified by:
queryElementAsGeometry in interface ITinAdvanced2
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
index - The index (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNeighborsAndWeights

public void queryNeighborsAndWeights(double x,
                                     double y,
                                     ILongArray pNeighbors,
                                     IDoubleArray pWeights)
                              throws java.io.IOException,
                                     AutomationException
Returns natural neighbors and their weights corresponding to the query point.

Specified by:
queryNeighborsAndWeights in interface ITinAdvanced2
Parameters:
x - The x (in)
y - The y (in)
pNeighbors - A reference to a com.esri.arcgis.system.ILongArray (in)
pWeights - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findTriangleIndex

public int findTriangleIndex(IPoint pPoint)
                      throws java.io.IOException,
                             AutomationException
The triangle at the specified location.

Specified by:
findTriangleIndex in interface ITinAdvanced2
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTriangleInsideDataArea

public boolean isTriangleInsideDataArea(int triangleIndex)
                                 throws java.io.IOException,
                                        AutomationException
Returns TRUE if the triangle is inside data area.

Specified by:
isTriangleInsideDataArea in interface ITinAdvanced2
Parameters:
triangleIndex - The triangleIndex (in)
Returns:
The pbIsInside
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEdgeInsideDataArea

public boolean isEdgeInsideDataArea(int edgeIndex)
                             throws java.io.IOException,
                                    AutomationException
Returns TRUE if the edge is inside data area.

Specified by:
isEdgeInsideDataArea in interface ITinAdvanced2
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pbIsInside
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNodeInsideDataArea

public boolean isNodeInsideDataArea(int nodeIndex)
                             throws java.io.IOException,
                                    AutomationException
Returns TRUE if the node is inside data area.

Specified by:
isNodeInsideDataArea in interface ITinAdvanced2
Parameters:
nodeIndex - The nodeIndex (in)
Returns:
The pbIsInside
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCountedUniqueTagValues

public void getCountedUniqueTagValues(int type,
                                      ILongArray[] ppValues,
                                      ILongArray[] ppCounts)
                               throws java.io.IOException,
                                      AutomationException
Returns unique tag values with counts for the specified element type.

Specified by:
getCountedUniqueTagValues in interface ITinAdvanced2
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
ppValues - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppCounts - 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.

getNaturalNeighborZ

public double getNaturalNeighborZ(double x,
                                  double y)
                           throws java.io.IOException,
                                  AutomationException
Return the z-coordinate of the specified location using Natural Neighbor interpolation.

Specified by:
getNaturalNeighborZ in interface ITinAdvanced2
Parameters:
x - The x (in)
y - The y (in)
Returns:
The pZ
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToPolylines

public void convertToPolylines(IFeatureClass pFeatureClass,
                               ITinDynamicFilter pFilter,
                               java.lang.Object pFieldName)
                        throws java.io.IOException,
                               AutomationException
Converts qualified edges to a polyline feature class.

Specified by:
convertToPolylines in interface ITinAdvanced2
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinDynamicFilter (in)
pFieldName - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsVersion

public void saveAsVersion(java.lang.String newName,
                          int ver,
                          java.lang.Object pOverWrite)
                   throws java.io.IOException,
                          AutomationException
Saves the TIN to disk using the specified (full path) name.

Specified by:
saveAsVersion in interface ITinAdvanced2
Parameters:
newName - The newName (in)
ver - A com.esri.arcgis.geodatabase.esriTinVersion constant (in)
pOverWrite - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTinVersion

public int getTinVersion()
                  throws java.io.IOException,
                         AutomationException
Returns the version number of the TIN dataset.

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

getPreviousEdgeIndexInTriangle

public int getPreviousEdgeIndexInTriangle(int edgeIndex)
                                   throws java.io.IOException,
                                          AutomationException
Gets previous edge index in triangle.

Specified by:
getPreviousEdgeIndexInTriangle in interface ITinAdvanced3
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNextEdgeIndexInTriangle

public int getNextEdgeIndexInTriangle(int edgeIndex)
                               throws java.io.IOException,
                                      AutomationException
Gets next edge index in triangle.

Specified by:
getNextEdgeIndexInTriangle in interface ITinAdvanced3
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNextCWEdgeIndex

public int getNextCWEdgeIndex(int edgeIndex)
                       throws java.io.IOException,
                              AutomationException
Gets next clockwise edge index.

Specified by:
getNextCWEdgeIndex in interface ITinAdvanced3
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNextCCWEdgeIndex

public int getNextCCWEdgeIndex(int edgeIndex)
                        throws java.io.IOException,
                               AutomationException
Gets next counter clockwise edge index.

Specified by:
getNextCCWEdgeIndex in interface ITinAdvanced3
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryElementIndicesAroundNode

public void queryElementIndicesAroundNode(int type,
                                          int localNodeIndex,
                                          int triangleIndex,
                                          ILongArray pIndices)
                                   throws java.io.IOException,
                                          AutomationException
Returns the indices of all elements connected to the specified node.

Specified by:
queryElementIndicesAroundNode in interface ITinAdvanced3
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
localNodeIndex - The localNodeIndex (in)
triangleIndex - The triangleIndex (in)
pIndices - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVoronoiRegionNoClip

public IPolygon getVoronoiRegionNoClip(int nodeIndex)
                                throws java.io.IOException,
                                       AutomationException
Returns a Voronoi polygon about the node referenced by the index.

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

getVoronoiRegion

public IPolygon getVoronoiRegion(int nodeIndex,
                                 IPolygon pClippingPolygon)
                          throws java.io.IOException,
                                 AutomationException
Returns a Voronoi polygon about the node referenced by the index.

Specified by:
getVoronoiRegion in interface ITinNodeCollection
Parameters:
nodeIndex - The nodeIndex (in)
pClippingPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToVoronoiRegions

public void convertToVoronoiRegions(IFeatureClass pFeatureClass,
                                    ITinFilter pFilter,
                                    IPolygon pClippingPolygon,
                                    java.lang.String indexFieldName,
                                    java.lang.String tagFieldName)
                             throws java.io.IOException,
                                    AutomationException
Writes the set of Voronoi polygons for each node to a feature class.

Specified by:
convertToVoronoiRegions in interface ITinNodeCollection
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
pClippingPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
indexFieldName - The indexFieldName (in)
tagFieldName - The tagFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZ

public double getZ(double x,
                   double y)
            throws java.io.IOException,
                   AutomationException
The surface Z = f(x,y).

Specified by:
getZ in interface IFunctionalSurface
Parameters:
x - The x (in)
y - The y (in)
Returns:
The z
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomain

public IPolygon getDomain()
                   throws java.io.IOException,
                          AutomationException
The interpolation domain of the surface.

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

interpolateShape

public void interpolateShape(IGeometry pShape,
                             IGeometry[] ppOutShape,
                             java.lang.Object pStepSize)
                      throws java.io.IOException,
                             AutomationException
Interpolates z values for a defined geometric shape.

Specified by:
interpolateShape in interface ISurface
Specified by:
interpolateShape in interface IFunctionalSurface3
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppOutShape - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pStepSize - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateAsMultiPatch

public void interpolateAsMultiPatch(IPolygon pShape,
                                    int maxStripSize,
                                    IMultiPatch[] ppMultiPatch)
                             throws java.io.IOException,
                                    AutomationException
Interpolate the input Polygon and output as a Multipatch.

Specified by:
interpolateAsMultiPatch in interface ITinSurface2
Specified by:
interpolateAsMultiPatch in interface IFunctionalSurface3
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IPolygon (in)
maxStripSize - The maxStripSize (in)
ppMultiPatch - A reference to a com.esri.arcgis.geometry.IMultiPatch (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectedArea

public double getProjectedArea(double referenceHeight,
                               int type)
                        throws java.io.IOException,
                               AutomationException
Returns the projected area of the surface above or below an input z value.

Specified by:
getProjectedArea in interface ISurface
Parameters:
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pArea
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceArea

public double getSurfaceArea(double referenceHeight,
                             int type)
                      throws java.io.IOException,
                             AutomationException
Returns the area measured on its surface above or below an input z value.

Specified by:
getSurfaceArea in interface ISurface
Parameters:
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pArea
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVolume

public double getVolume(double reference,
                        int type)
                 throws java.io.IOException,
                        AutomationException
Returns the volume above or below an input z value.

Specified by:
getVolume in interface ISurface
Parameters:
reference - The reference (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pVolume
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNormal

public void queryNormal(IPoint pLocation,
                        IVector3D pNormal)
                 throws java.io.IOException,
                        AutomationException
Returns the vector normal to the specified triangle.

Specified by:
queryNormal in interface ISurface
Parameters:
pLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
pNormal - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElevation

public double getElevation(IPoint pPoint)
                    throws java.io.IOException,
                           AutomationException
Returns the z value of the specified location.

Specified by:
getElevation in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pElevation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopeDegrees

public double getSlopeDegrees(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in degrees.

Specified by:
getSlopeDegrees in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopeRadians

public double getSlopeRadians(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in radians.

Specified by:
getSlopeRadians in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopePercent

public double getSlopePercent(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in percent.

Specified by:
getSlopePercent in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectDegrees

public double getAspectDegrees(IPoint pPoint)
                        throws java.io.IOException,
                               AutomationException
Returns the aspect at the specified location in degrees.

Specified by:
getAspectDegrees in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pAspect
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectRadians

public double getAspectRadians(IPoint pPoint)
                        throws java.io.IOException,
                               AutomationException
Returns the aspect at the specified location in radians.

Specified by:
getAspectRadians in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pAspect
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateShapeVertices

public void interpolateShapeVertices(IGeometry pShape,
                                     IGeometry[] ppOutShape)
                              throws java.io.IOException,
                                     AutomationException
Interpolates z values for a defined geometric shape at its vertices only.

Specified by:
interpolateShapeVertices in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppOutShape - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProfile

public void getProfile(IGeometry pShape,
                       IGeometry[] ppProfile,
                       java.lang.Object pStepSize)
                throws java.io.IOException,
                       AutomationException
Returns a polyline with z values interpolated from the surface.

Specified by:
getProfile in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppProfile - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pStepSize - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLineOfSight

public void getLineOfSight(IPoint pObserver,
                           IPoint pTarget,
                           IPoint[] ppObstruction,
                           IPolyline[] ppVisibleLines,
                           IPolyline[] ppInvisibleLines,
                           boolean[] pbIsVisible,
                           boolean bApplyCurvature,
                           boolean bApplyRefraction,
                           java.lang.Object pRefractionFactor)
                    throws java.io.IOException,
                           AutomationException
Computes the visibility of a line-of-sight from the observer to the target.

Specified by:
getLineOfSight in interface ISurface
Parameters:
pObserver - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTarget - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppObstruction - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
ppVisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
ppInvisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
pbIsVisible - The pbIsVisible (out: use single element array)
bApplyCurvature - The bApplyCurvature (in)
bApplyRefraction - The bApplyRefraction (in)
pRefractionFactor - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

querySurfaceLength

public void querySurfaceLength(IGeometry pShape,
                               double[] pLength,
                               java.lang.Object pStepSize)
                        throws java.io.IOException,
                               AutomationException
Returns the length of an input polyline measured on the surface.

Specified by:
querySurfaceLength in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pLength - The pLength (out: use single element array)
pStepSize - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locate

public IPoint locate(IRay pRay,
                     int hint)
              throws java.io.IOException,
                     AutomationException
Returns the intersection of the query ray and the surface.

Specified by:
locate in interface ISurface
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
hint - The hint (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateAll

public IDoubleArray locateAll(IRay pRay,
                              int hint)
                       throws java.io.IOException,
                              AutomationException
Returns the distances of intersections of the query ray and the surface.

Specified by:
locateAll in interface ISurface
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
hint - The hint (in)
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContour

public void getContour(IPoint pPoint,
                       IPolyline[] ppContour,
                       double[] pElevation)
                throws java.io.IOException,
                       AutomationException
Returns a countour passing through the queried point.

Specified by:
getContour in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppContour - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
pElevation - The pElevation (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contourList

public void contourList(IDoubleArray pBreaks,
                        IFeatureClass pFeatureClass,
                        java.lang.String fieldName,
                        int digitsAfterDecimalPoint)
                 throws java.io.IOException,
                        AutomationException
Output a list of contours corresponding to the specified eleveation values.

Specified by:
contourList in interface ISurface
Parameters:
pBreaks - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fieldName - The fieldName (in)
digitsAfterDecimalPoint - The digitsAfterDecimalPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contour

public void contour(double referenceContourHeight,
                    double interval,
                    IFeatureClass pFeatureClass,
                    java.lang.String fieldName,
                    int digitsAfterDecimalPoint)
             throws java.io.IOException,
                    AutomationException
Output contours based on the specified root value and interval.

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

asPolygons

public void asPolygons(IFeatureClass pFeatureClass,
                       int type,
                       IDoubleArray pClassBreaks,
                       ILongArray pClassCodes,
                       java.lang.Object fieldName)
                throws java.io.IOException,
                       AutomationException
Converts the surface to a polygon feature class representing slope or aspect.

Specified by:
asPolygons in interface ISurface
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
type - A com.esri.arcgis.geodatabase.esriSurfaceConversionType constant (in)
pClassBreaks - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pClassCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
fieldName - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSteepestPath

public IPolyline getSteepestPath(IPoint pPoint)
                          throws java.io.IOException,
                                 AutomationException
Returns the steepest path downhill from the specified point.

Specified by:
getSteepestPath in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPixelBlock

public void queryPixelBlock(double xOrigin,
                            double yOrigin,
                            double xPixelSize,
                            double yPixelSize,
                            int type,
                            java.lang.Object valueForNoData,
                            java.lang.Object block)
                     throws java.io.IOException,
                            AutomationException
Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.

Specified by:
queryPixelBlock in interface ISurface
Parameters:
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
xPixelSize - The xPixelSize (in)
yPixelSize - The yPixelSize (in)
type - A com.esri.arcgis.geodatabase.esriRasterizationType constant (in)
valueForNoData - A Variant (in)
block - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterInterpolationMethod

public void setRasterInterpolationMethod(int pType)
                                  throws java.io.IOException,
                                         AutomationException
The elevation interpolation method for rasterization.

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

getRasterInterpolationMethod

public int getRasterInterpolationMethod()
                                 throws java.io.IOException,
                                        AutomationException
The elevation interpolation method for rasterization.

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

setSunPosition

public void setSunPosition(_WKSPointZ pPosition)
                    throws java.io.IOException,
                           AutomationException
The vector indicating the direction of the light source relative to the scene.

Specified by:
setSunPosition in interface ITinSurface
Parameters:
pPosition - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSunPosition

public _WKSPointZ getSunPosition()
                          throws java.io.IOException,
                                 AutomationException
The vector indicating the direction of the light source relative to the scene.

Specified by:
getSunPosition in interface ITinSurface
Returns:
A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIntensity

public double getIntensity(_WKSPointZ pPi,
                           _WKSPointZ pPj,
                           _WKSPointZ pPk)
                    throws java.io.IOException,
                           AutomationException
Returns the hillshade brightness value of the plane defined by the three points.

Specified by:
getIntensity in interface ITinSurface
Parameters:
pPi - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
pPj - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
pPk - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Returns:
The pIntensity
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceElement

public ITinSurfaceElement getSurfaceElement(IPoint pPoint)
                                     throws java.io.IOException,
                                            AutomationException
Returns the surface element at the specified location.

Specified by:
getSurfaceElement in interface ITinSurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinSurfaceElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPartialVolumeAndArea

public void getPartialVolumeAndArea(double referenceHeight,
                                    int type,
                                    IEnumTinTriangle pTriangles,
                                    java.lang.Object[] pVolume,
                                    java.lang.Object[] pSurfaceArea,
                                    java.lang.Object[] pProjectedArea)
                             throws java.io.IOException,
                                    AutomationException
Returns portion of the TIN's volume above or below an input z value.

Specified by:
getPartialVolumeAndArea in interface ITinSurface
Parameters:
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
pTriangles - A reference to a com.esri.arcgis.geodatabase.IEnumTinTriangle (in)
pVolume - A Variant (in/out: use single element array, optional, pass single element of null if not required)
pSurfaceArea - A Variant (in/out: use single element array, optional, pass single element of null if not required)
pProjectedArea - A Variant (in/out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToMultiPatches

public void convertToMultiPatches(IFeatureClass pFeatureClass,
                                  int maxPatchSize,
                                  int maxStripSize)
                           throws java.io.IOException,
                                  AutomationException
Convert TIN into Multipatches.

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

decimateNodes

public void decimateNodes(IEnvelope pAreaOfInterest,
                          double zTolerance,
                          boolean bCopyBreakline,
                          java.lang.Object pMaxRemainingNodeCount,
                          ITin[] ppNewTin,
                          java.lang.Object[] pbToleranceAchieved)
                   throws java.io.IOException,
                          AutomationException
Outputs a new TIN with reduced number of nodes.

Specified by:
decimateNodes in interface ITinSurface2
Parameters:
pAreaOfInterest - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
zTolerance - The zTolerance (in)
bCopyBreakline - The bCopyBreakline (in)
pMaxRemainingNodeCount - A Variant (in)
ppNewTin - A reference to a com.esri.arcgis.geodatabase.ITin (out: use single element array)
pbToleranceAchieved - A Variant (in/out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

decimateNodesByCount

public void decimateNodesByCount(IEnvelope pAreaOfInterest,
                                 int maxRemainingNodeCount,
                                 boolean bCopyBreakline,
                                 ITin[] ppNewTin)
                          throws java.io.IOException,
                                 AutomationException
Outputs a new TIN with reduced number of nodes.

Specified by:
decimateNodesByCount in interface ITinSurface2
Parameters:
pAreaOfInterest - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
maxRemainingNodeCount - The maxRemainingNodeCount (in)
bCopyBreakline - The bCopyBreakline (in)
ppNewTin - A reference to a com.esri.arcgis.geodatabase.ITin (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateMultiple

public IMultipoint locateMultiple(IRay pRay)
                           throws java.io.IOException,
                                  AutomationException
Returns the intersections of the query ray and the surface.

Specified by:
locateMultiple in interface ITinSurface2
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
Returns:
A reference to a com.esri.arcgis.geometry.IMultipoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInterpolationMethod

public void setInterpolationMethod(int pType)
                            throws java.io.IOException,
                                   AutomationException
The elevation interpolation method.

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

getInterpolationMethod

public int getInterpolationMethod()
                           throws java.io.IOException,
                                  AutomationException
The elevation interpolation method.

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

interpolateZ

public double interpolateZ(double x,
                           double y)
                    throws java.io.IOException,
                           AutomationException
Interpolate the z-coordinate of the specified location.

Specified by:
interpolateZ in interface ITinSurface3
Parameters:
x - The x (in)
y - The y (in)
Returns:
The pZ
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVolumeAndArea

public void getVolumeAndArea(IGeometry pAOI,
                             double referenceHeight,
                             int type,
                             boolean[] pbIsOutsideDataArea,
                             java.lang.Object[] pVolume,
                             java.lang.Object[] pSurfaceArea,
                             java.lang.Object[] pProjectedArea)
                      throws java.io.IOException,
                             AutomationException
Returns TIN's volume/area above or below an input z value.

Specified by:
getVolumeAndArea in interface ITinSurface3
Parameters:
pAOI - A reference to a com.esri.arcgis.geometry.IGeometry (in)
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
pbIsOutsideDataArea - The pbIsOutsideDataArea (out: use single element array)
pVolume - A Variant (in/out: use single element array, optional, pass single element of null if not required)
pSurfaceArea - A Variant (in/out: use single element array, optional, pass single element of null if not required)
pProjectedArea - A Variant (in/out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

intersect

public void intersect(ITinSurface pReferenceSurface,
                      IGeometry pAOI,
                      IFeatureClass pOutFeatureClass,
                      java.lang.String volumeFieldName,
                      java.lang.String surfaceAreaFieldName,
                      java.lang.String codeFieldName)
               throws java.io.IOException,
                      AutomationException
Intersect with a reference TIN.

Specified by:
intersect in interface ITinSurface3
Parameters:
pReferenceSurface - A reference to a com.esri.arcgis.geodatabase.ITinSurface (in)
pAOI - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pOutFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
volumeFieldName - The volumeFieldName (in)
surfaceAreaFieldName - The surfaceAreaFieldName (in)
codeFieldName - The codeFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTriangleNormal

public void queryTriangleNormal(int triangle,
                                IVector3D pNormal)
                         throws java.io.IOException,
                                AutomationException
Returns the vector normal to the specified triangle.

Specified by:
queryTriangleNormal in interface ITinSurface3
Parameters:
triangle - The triangle (in)
pNormal - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocate

public void queryLocate(IRay pRay,
                        int hint,
                        IPoint pLocation)
                 throws java.io.IOException,
                        AutomationException
Returns the first intersection of the query ray and the TIN.

Specified by:
queryLocate in interface ITinSurface3
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
hint - The hint (in)
pLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocateWithinDistance

public void queryLocateWithinDistance(IRay pRay,
                                      double maxDistance,
                                      IGeometry pLocations)
                               throws java.io.IOException,
                                      AutomationException
Returns the intersections of the query ray and the TIN.

Specified by:
queryLocateWithinDistance in interface ITinSurface3
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
maxDistance - The maxDistance (in)
pLocations - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extract

public ITin extract(IPolygon pBoundary,
                    int boundaryEdgeType,
                    int boundaryEdgeValue,
                    boolean bConstrainedDelaunay,
                    boolean bAllowEdgeSwapping)
             throws java.io.IOException,
                    AutomationException
Extract part of the TIN.

Specified by:
extract in interface ITinSurface3
Parameters:
pBoundary - A reference to a com.esri.arcgis.geometry.IPolygon (in)
boundaryEdgeType - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
boundaryEdgeValue - The boundaryEdgeValue (in)
bConstrainedDelaunay - The bConstrainedDelaunay (in)
bAllowEdgeSwapping - The bAllowEdgeSwapping (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProfileWeedTolerance

public void setProfileWeedTolerance(double pTolerance)
                             throws java.io.IOException,
                                    AutomationException
The profile weeding tolerance.

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

getProfileWeedTolerance

public double getProfileWeedTolerance()
                               throws java.io.IOException,
                                      AutomationException
The profile weeding tolerance.

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

isEditable

public boolean isEditable()
                   throws java.io.IOException,
                          AutomationException
Indicates if the TIN can be edited.

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

isInEditMode

public boolean isInEditMode()
                     throws java.io.IOException,
                            AutomationException
Indicates if the TIN is in edit mode.

Specified by:
isInEditMode in interface ITinEdit
Returns:
The pbIsInEditMode
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 TIN is dirty.

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

startEditing

public boolean startEditing()
                     throws java.io.IOException,
                            AutomationException
Initiates edit mode.

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

stopEditing

public boolean stopEditing(boolean bSaveEdits)
                    throws java.io.IOException,
                           AutomationException
Terminates edit mode, optionally saving changes to disk.

Specified by:
stopEditing in interface ITinEdit
Parameters:
bSaveEdits - The bSaveEdits (in)
Returns:
The pbIsSuccessful
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initNew

public void initNew(IEnvelope pExtent)
             throws java.io.IOException,
                    AutomationException
Initializes a new TIN using the passed extent to define the data area.

Specified by:
initNew in interface ITinEdit
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
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 edits to disk.

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

addWKSPointZ

public int addWKSPointZ(_WKSPointZ pPoint,
                        int vlue)
                 throws java.io.IOException,
                        AutomationException
Adds a well known structure point to the TIN.

Specified by:
addWKSPointZ in interface ITinEdit
Parameters:
pPoint - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
vlue - The vlue (in)
Returns:
The pNodeIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPointZ

public int addPointZ(IPoint pPoint,
                     int tagValue)
              throws java.io.IOException,
                     AutomationException
Adds a 3D point to the TIN.

Specified by:
addPointZ in interface ITinEdit
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
tagValue - The tagValue (in)
Returns:
The pNodeIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addShapeZ

public void addShapeZ(IGeometry pShape,
                      int type,
                      int tagValue,
                      java.lang.Object pbUseShapeZ)
               throws java.io.IOException,
                      AutomationException
Adds a 3D shape to the TIN.

Specified by:
addShapeZ in interface ITinEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
type - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (in)
tagValue - The tagValue (in)
pbUseShapeZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addShape

public void addShape(IGeometry pShape,
                     int type,
                     int tagValue,
                     java.lang.Object pZ)
              throws java.io.IOException,
                     AutomationException
Adds a 2D shape to the TIN.

Specified by:
addShape in interface ITinEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
type - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (in)
tagValue - The tagValue (in)
pZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFromFeatureClass

public void addFromFeatureClass(IFeatureClass pFeatureClass,
                                IQueryFilter pFilter,
                                IField pHeightField,
                                IField pTagValueField,
                                int type,
                                java.lang.Object pbUseShapeZ)
                         throws java.io.IOException,
                                AutomationException
Adds features from a feature class to the TIN.

Specified by:
addFromFeatureClass in interface ITinEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pHeightField - A reference to a com.esri.arcgis.geodatabase.IField (in)
pTagValueField - A reference to a com.esri.arcgis.geodatabase.IField (in)
type - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (in)
pbUseShapeZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFromFeatureCursor

public void addFromFeatureCursor(IFeatureCursor pCursor,
                                 IField pHeightField,
                                 IField pTagValueField,
                                 int type,
                                 java.lang.Object pbUseShapeZ)
                          throws java.io.IOException,
                                 AutomationException
Adds features from a feature cursor to the TIN.

Specified by:
addFromFeatureCursor in interface ITinEdit
Parameters:
pCursor - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
pHeightField - A reference to a com.esri.arcgis.geodatabase.IField (in)
pTagValueField - A reference to a com.esri.arcgis.geodatabase.IField (in)
type - A com.esri.arcgis.geodatabase.esriTinSurfaceType constant (in)
pbUseShapeZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFromPixelBlock

public void addFromPixelBlock(double xOrigin,
                              double yOrigin,
                              double xPixelSize,
                              double yPixelSize,
                              java.lang.Object valueForNoData,
                              java.lang.Object block,
                              double zTolerance,
                              java.lang.Object pMaxPoints,
                              java.lang.Object[] pbToleranceAchieved)
                       throws java.io.IOException,
                              AutomationException
Adds pixels from a pixel block to the TIN.

Specified by:
addFromPixelBlock in interface ITinEdit
Parameters:
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
xPixelSize - The xPixelSize (in)
yPixelSize - The yPixelSize (in)
valueForNoData - A Variant (in)
block - A Variant (in)
zTolerance - The zTolerance (in)
pMaxPoints - A Variant (in, optional, pass null if not required)
pbToleranceAchieved - A Variant (out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteNode

public void deleteNode(int index)
                throws java.io.IOException,
                       AutomationException
Deletes a specified node from the TIN.

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

deleteSelectedNodes

public void deleteSelectedNodes()
                         throws java.io.IOException,
                                AutomationException
Deletes specified nodes from the TIN.

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

deleteNodesOutsideDataArea

public void deleteNodesOutsideDataArea()
                                throws java.io.IOException,
                                       AutomationException
Deletes all nodes from outside the TIN interpolation zone.

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

setEdgeType

public void setEdgeType(int index,
                        int type)
                 throws java.io.IOException,
                        AutomationException
Sets the type of the triangle edge referenced by the TIN.

Specified by:
setEdgeType in interface ITinEdit
Parameters:
index - The index (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNodeZ

public void setNodeZ(int index,
                     double z)
              throws java.io.IOException,
                     AutomationException
Sets the z value of a TIN node referenced by the index.

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

setNodeTagValue

public void setNodeTagValue(int index,
                            int value)
                     throws java.io.IOException,
                            AutomationException
Sets the tag value of a TIN node referenced by the index.

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

setEdgeTagValue

public void setEdgeTagValue(int index,
                            int value)
                     throws java.io.IOException,
                            AutomationException
Sets the tag value of the triangle edge referenced by the index.

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

setTriangleTagValue

public void setTriangleTagValue(int index,
                                int value)
                         throws java.io.IOException,
                                AutomationException
Sets the face tag value of the triangle referenced by the index.

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

propagateTriangleTagValue

public void propagateTriangleTagValue(ITinTriangle pSeed,
                                      int newTagValue,
                                      boolean bStopAtEnforcedEdge)
                               throws java.io.IOException,
                                      AutomationException
Propagates triangle tag value changes to all immediate triangles with the same initial value.

Specified by:
propagateTriangleTagValue in interface ITinEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
newTagValue - The newTagValue (in)
bStopAtEnforcedEdge - The bStopAtEnforcedEdge (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrianglesInsideDataArea

public void setTrianglesInsideDataArea()
                                throws java.io.IOException,
                                       AutomationException
Sets all triangles within the TIN interpolation zone.

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

setTriangleInsideDataArea

public void setTriangleInsideDataArea(int index)
                               throws java.io.IOException,
                                      AutomationException
Sets a triangle within the TIN interpolation zone.

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

setTriangleOutsideDataArea

public void setTriangleOutsideDataArea(int index)
                                throws java.io.IOException,
                                       AutomationException
Sets a triangle outside of the TIN interpolation zone.

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

deleteNodeTagValues

public void deleteNodeTagValues()
                         throws java.io.IOException,
                                AutomationException
Deletes all node tag values in the TIN.

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

deleteEdgeTagValues

public void deleteEdgeTagValues()
                         throws java.io.IOException,
                                AutomationException
Deletes all edge tag values in the TIN.

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

deleteTriangleTagValues

public void deleteTriangleTagValues()
                             throws java.io.IOException,
                                    AutomationException
Deletes all triangle face tag values in the TIN.

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

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Updates TIN's extents, data area, and data elements count.

Specified by:
refresh in interface ITinEdit
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
Set a copy of the specified spatial reference to the TIN.

Specified by:
setSpatialReference in interface ITinEdit
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.

resetExtent

public void resetExtent(IEnvelope pExtent)
                 throws java.io.IOException,
                        AutomationException
Reset TIN's extent.

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

setToConstrainedDelaunay

public void setToConstrainedDelaunay()
                              throws java.io.IOException,
                                     AutomationException
Apply constrained Delaunay from now on.

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

swapEdge

public int swapEdge(int index,
                    int type,
                    int tag)
             throws java.io.IOException,
                    AutomationException
Swap the specified edge and set the TIN as constrained Delaunay triangulation.

Specified by:
swapEdge in interface ITinEdit2
Parameters:
index - The index (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
tag - The tag (in)
Returns:
The pNewIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFrom3dMultipointFeatureClass

public void addFrom3dMultipointFeatureClass(IFeatureClass pFeatureClass,
                                            ISpatialFilter pClippingFilter)
                                     throws java.io.IOException,
                                            AutomationException
Adds features from a 3D multi-point feature class to the TIN.

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

saveSnapshot

public void saveSnapshot(java.lang.String name,
                         boolean bOverWrite)
                  throws java.io.IOException,
                         AutomationException
Saves a snapshot of the TIN that is been edited to disk.

Specified by:
saveSnapshot in interface ITinEdit2
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.

hasSelection

public boolean hasSelection(int type)
                     throws java.io.IOException,
                            AutomationException
Indicates if element(s) is/are selected.

Specified by:
hasSelection in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
The pbHasSelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearSelection

public void clearSelection(int type)
                    throws java.io.IOException,
                           AutomationException
Clears selected element(s).

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

setSelection

public void setSelection(IEnumTinElement pElements,
                         int action)
                  throws java.io.IOException,
                         AutomationException
Selects elements returned by the enumerator.

Specified by:
setSelection in interface ITinSelection
Parameters:
pElements - A reference to a com.esri.arcgis.geodatabase.IEnumTinElement (in)
action - A com.esri.arcgis.geodatabase.esriTinSelectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelection

public IEnumTinElement getSelection(int type)
                             throws java.io.IOException,
                                    AutomationException
Returns an enumerator containing selected elements.

Specified by:
getSelection in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectAll

public void selectAll(int type,
                      boolean bDataElementsOnly)
               throws java.io.IOException,
                      AutomationException
Selects all elements of the specified element type in the TIN.

Specified by:
selectAll in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
bDataElementsOnly - The bDataElementsOnly (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flipSelection

public void flipSelection(int type,
                          boolean bDataElementsOnly)
                   throws java.io.IOException,
                          AutomationException
Flips current selection of the specified element type in the TIN.

Specified by:
flipSelection in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
bDataElementsOnly - The bDataElementsOnly (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectByArea

public void selectByArea(int type,
                         IPolygon pArea,
                         boolean bPassThrough,
                         boolean bDataElementsOnly,
                         int action)
                  throws java.io.IOException,
                         AutomationException
Selects all elements of the specified element type in a specified polygonal area.

Specified by:
selectByArea in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
pArea - A reference to a com.esri.arcgis.geometry.IPolygon (in)
bPassThrough - The bPassThrough (in)
bDataElementsOnly - The bDataElementsOnly (in)
action - A com.esri.arcgis.geodatabase.esriTinSelectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectByEnvelope

public void selectByEnvelope(int type,
                             IEnvelope pEnvelope,
                             boolean bPassThrough,
                             boolean bDataElementsOnly,
                             int action)
                      throws java.io.IOException,
                             AutomationException
Selects all elements of the specified element type in a specified rectangular envelope.

Specified by:
selectByEnvelope in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
pEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
bPassThrough - The bPassThrough (in)
bDataElementsOnly - The bDataElementsOnly (in)
action - A com.esri.arcgis.geodatabase.esriTinSelectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelected

public void setSelected(int index,
                        int type,
                        int action)
                 throws java.io.IOException,
                        AutomationException
Selects the element referenced by the index.

Specified by:
setSelected in interface ITinSelection
Parameters:
index - The index (in)
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
action - A com.esri.arcgis.geodatabase.esriTinSelectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSelected

public boolean isSelected(int index,
                          int type)
                   throws java.io.IOException,
                          AutomationException
Returns TRUE if the element referenced by the index is selected.

Specified by:
isSelected in interface ITinSelection
Parameters:
index - The index (in)
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
The pbIsSelected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

querySelectionExtent

public void querySelectionExtent(int type,
                                 IEnvelope pExtent)
                          throws java.io.IOException,
                                 AutomationException
Returns the extent of the selected elements.

Specified by:
querySelectionExtent in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedElementCount

public int getSelectedElementCount(int type)
                            throws java.io.IOException,
                                   AutomationException
The number of selected elements.

Specified by:
getSelectedElementCount in interface ITinSelection
Parameters:
type - A com.esri.arcgis.geodatabase.esriTinElementType constant (in)
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startInMemoryEditing

public boolean startInMemoryEditing()
                             throws java.io.IOException,
                                    AutomationException
Initiates memory edit mode. Use ITinEdit::SaveAs to persist. Don't use Save.

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

isInMemoryEditMode

public boolean isInMemoryEditMode()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the specified TIN is in in-memory-edit mode.

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

extractPolyline

public IPolyline extractPolyline(ITinFeatureSeed pSeed,
                                 boolean bGetZ,
                                 boolean bSkipDensifiedNodes)
                          throws java.io.IOException,
                                 AutomationException
Extracts polyline. The seed must be a special edge, or an edge with tagValue.

Specified by:
extractPolyline in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
bGetZ - The bGetZ (in)
bSkipDensifiedNodes - The bSkipDensifiedNodes (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractPolygon

public IPolygon extractPolygon(ITinFeatureSeed pSeed,
                               boolean bGetZ,
                               boolean bSkipDensifiedNodes)
                        throws java.io.IOException,
                               AutomationException
Extracts polygon.

Specified by:
extractPolygon in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
bGetZ - The bGetZ (in)
bSkipDensifiedNodes - The bSkipDensifiedNodes (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToPolylines

public void convertToPolylines(IFeatureClass pFeatureClass,
                               ITinDynamicFilter pFilter,
                               boolean bSkipDensifiedNodes,
                               java.lang.Object pFieldName)
                        throws java.io.IOException,
                               AutomationException
Converts qualified edges to a polyline feature class.

Specified by:
convertToPolylines in interface ITinFeatureEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinDynamicFilter (in)
bSkipDensifiedNodes - The bSkipDensifiedNodes (in)
pFieldName - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToPolygons

public void convertToPolygons(IFeatureClass pFeatureClass,
                              ITinDynamicFilter pFilter,
                              boolean bStopAtEnforcedEdge,
                              boolean bSkipDensifiedNodes,
                              java.lang.Object pFieldName)
                       throws java.io.IOException,
                              AutomationException
Converts qualified triangles to a polygon feature class.

Specified by:
convertToPolygons in interface ITinFeatureEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinDynamicFilter (in)
bStopAtEnforcedEdge - The bStopAtEnforcedEdge (in)
bSkipDensifiedNodes - The bSkipDensifiedNodes (in)
pFieldName - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStopAtJuncture

public void setStopAtJuncture(boolean pbStop)
                       throws java.io.IOException,
                              AutomationException
Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.

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

isStopAtJuncture

public boolean isStopAtJuncture()
                         throws java.io.IOException,
                                AutomationException
Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.

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

setStopAtEnforcedEdge

public void setStopAtEnforcedEdge(boolean pbStop)
                           throws java.io.IOException,
                                  AutomationException
Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.

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

isStopAtEnforcedEdge

public boolean isStopAtEnforcedEdge()
                             throws java.io.IOException,
                                    AutomationException
Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.

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

setElementsIgnoredInConflictTest

public void setElementsIgnoredInConflictTest(int pElementsExcluded)
                                      throws java.io.IOException,
                                             AutomationException
The TIN nodes or edges to be ignored in conflict detection (used by processes such as CanAdd and CanMove).

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

getElementsIgnoredInConflictTest

public int getElementsIgnoredInConflictTest()
                                     throws java.io.IOException,
                                            AutomationException
The TIN nodes or edges to be ignored in conflict detection (used by processes such as CanAdd and CanMove).

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

canAdd

public boolean canAdd(IGeometry pShape,
                      double spacing)
               throws java.io.IOException,
                      AutomationException
Checks if the specified shape can be added without creating spatial conflict.

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

canReplace

public boolean canReplace(IGeometry pShape,
                          ITinFeatureSeed pSeed,
                          double spacing)
                   throws java.io.IOException,
                          AutomationException
Checks if the embedded object can be replaced by the new shape without creating spatial conflict.

Specified by:
canReplace in interface ITinFeatureEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
spacing - The spacing (in)
Returns:
The pbCanReplace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canMove

public boolean canMove(ITinFeatureSeed pSeed,
                       double dx,
                       double dy,
                       double spacing)
                throws java.io.IOException,
                       AutomationException
Checks if the embedded object can be relocated to a new location without creating spatial conflict.

Specified by:
canMove in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
dx - The dx (in)
dy - The dy (in)
spacing - The spacing (in)
Returns:
The pbCanMove
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRotate

public boolean canRotate(ITinFeatureSeed pSeed,
                         IPoint pOrigin,
                         double angle,
                         double spacing)
                  throws java.io.IOException,
                         AutomationException
Checks if the embedded polyline/polygon can be rotated without creating spatial conflict. pOrigin can be NULL or Nothing.

Specified by:
canRotate in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
pOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
spacing - The spacing (in)
Returns:
The pbCanRotate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canScalePolygon

public boolean canScalePolygon(ITinTriangle pSeed,
                               IPoint pOrigin,
                               double scale,
                               double spacing)
                        throws java.io.IOException,
                               AutomationException
Checks if the embedded polygon can be expanded or shrinked without creating spatial conflict. pOrigin can be NULL or Nothing.

Specified by:
canScalePolygon in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
pOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
scale - The scale (in)
spacing - The spacing (in)
Returns:
The pbCanScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canAddVertex

public boolean canAddVertex(IGeometry pPoly,
                            IPoint pNewPoint,
                            boolean bClose,
                            double spacing)
                     throws java.io.IOException,
                            AutomationException
Checks if a new polygon/polyline vertex can be added without creating spatial conflict.

Specified by:
canAddVertex in interface ITinFeatureEdit
Parameters:
pPoly - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pNewPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
bClose - The bClose (in)
spacing - The spacing (in)
Returns:
The pbCanAdd
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDeleteVertex

public boolean canDeleteVertex(ITinNode pNode,
                               ITinFeatureSeed pSeed,
                               double spacing)
                        throws java.io.IOException,
                               AutomationException
Checks if a polygon/polyline vertex can be deleted without creating spatial conflict.

Specified by:
canDeleteVertex in interface ITinFeatureEdit
Parameters:
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
spacing - The spacing (in)
Returns:
The pbCanDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canMoveVertex

public boolean canMoveVertex(ITinNode pNode,
                             ITinFeatureSeed pSeed,
                             _WKSPoint pNewLocation,
                             double spacing)
                      throws java.io.IOException,
                             AutomationException
Checks if a polygon/polyline vertex can be moved to a new location without creating spatial conflict.

Specified by:
canMoveVertex in interface ITinFeatureEdit
Parameters:
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
pNewLocation - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
spacing - The spacing (in)
Returns:
The pbCanMove
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPointZ

public void addPointZ(IPoint pPoint,
                      int tagValue,
                      ITinNode pSeed)
               throws java.io.IOException,
                      AutomationException
Adds a 3D point to the TIN. pSeed can be NULL or Nothing.

Specified by:
addPointZ in interface ITinFeatureEdit
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
tagValue - The tagValue (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPolygonZ

public void addPolygonZ(IPolygon pShape,
                        int type,
                        int tagValue,
                        int edgeTagValue,
                        int nodeTagValue,
                        ITinTriangle pSeed)
                 throws java.io.IOException,
                        AutomationException
Adds Z-aware polygon. pSeed can be NULL or Nothing.

Specified by:
addPolygonZ in interface ITinFeatureEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IPolygon (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
tagValue - The tagValue (in)
edgeTagValue - The edgeTagValue (in)
nodeTagValue - The nodeTagValue (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPolygon

public void addPolygon(IPolygon pShape,
                       int type,
                       int tagValue,
                       int edgeTagValue,
                       int nodeTagValue,
                       ITinTriangle pSeed,
                       java.lang.Object pZ)
                throws java.io.IOException,
                       AutomationException
Adds polygon. pSeed can be NULL or Nothing.

Specified by:
addPolygon in interface ITinFeatureEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IPolygon (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
tagValue - The tagValue (in)
edgeTagValue - The edgeTagValue (in)
nodeTagValue - The nodeTagValue (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
pZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPolylineZ

public void addPolylineZ(IPolyline pShape,
                         int type,
                         int tagValue,
                         int nodeTagValue,
                         ITinEdge pSeed)
                  throws java.io.IOException,
                         AutomationException
Adds Z-aware polyline. pSeed can be NULL or Nothing.

Specified by:
addPolylineZ in interface ITinFeatureEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IPolyline (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
tagValue - The tagValue (in)
nodeTagValue - The nodeTagValue (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPolyline

public void addPolyline(IPolyline pShape,
                        int type,
                        int tagValue,
                        int nodeTagValue,
                        ITinEdge pSeed,
                        java.lang.Object pZ)
                 throws java.io.IOException,
                        AutomationException
Adds polyline. pSeed can be NULL or Nothing.

Specified by:
addPolyline in interface ITinFeatureEdit
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IPolyline (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
tagValue - The tagValue (in)
nodeTagValue - The nodeTagValue (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
pZ - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPolyObjects

public void addPolyObjects(IFeatureClass pFeatureClass,
                           IQueryFilter pFilter,
                           IField pHeightField,
                           IField pValueField,
                           boolean bSetEdgeTagValue,
                           boolean bSetNodeTagValue,
                           int type)
                    throws java.io.IOException,
                           AutomationException
Adds polygons/polylines.

Specified by:
addPolyObjects in interface ITinFeatureEdit
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
pHeightField - A reference to a com.esri.arcgis.geodatabase.IField (in)
pValueField - A reference to a com.esri.arcgis.geodatabase.IField (in)
bSetEdgeTagValue - The bSetEdgeTagValue (in)
bSetNodeTagValue - The bSetNodeTagValue (in)
type - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(ITinFeatureSeed pSeed)
            throws java.io.IOException,
                   AutomationException
Deletes the embedded point/polygon/polyline represented by the specified seed.

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

move

public void move(ITinFeatureSeed pSeed,
                 double dx,
                 double dy,
                 boolean bGetNewZ)
          throws java.io.IOException,
                 AutomationException
Moves the embedded point/polygon/polyline represented by the specified seed.

Specified by:
move in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
dx - The dx (in)
dy - The dy (in)
bGetNewZ - The bGetNewZ (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotate

public void rotate(ITinFeatureSeed pSeed,
                   IPoint pOrigin,
                   double angle,
                   boolean bGetNewZ)
            throws java.io.IOException,
                   AutomationException
Rotates the embedded polygon/polyline represented by the specified seed. pOrigin can be NULL or Nothing.

Specified by:
rotate in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
pOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
bGetNewZ - The bGetNewZ (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

scalePolygon

public void scalePolygon(ITinTriangle pSeed,
                         IPoint pOrigin,
                         double scale,
                         boolean bGetNewZ)
                  throws java.io.IOException,
                         AutomationException
Expands or shrinks the embedded polygon represented by the specified seed. pOrigin can be NULL or Nothing.

Specified by:
scalePolygon in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
pOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
scale - The scale (in)
bGetNewZ - The bGetNewZ (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeIslands

public void removeIslands(ITinTriangle pSeed,
                          double area,
                          boolean bKeepNodes,
                          boolean bZeroTag)
                   throws java.io.IOException,
                          AutomationException
Removes islands whose area is smaller than the specified value, from the embedded polygon represented by the specified seed. Remove all holes if the value is zero.

Specified by:
removeIslands in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
area - The area (in)
bKeepNodes - The bKeepNodes (in)
bZeroTag - The bZeroTag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

merge

public void merge(ITinEdge pCommonEdge,
                  int newValue,
                  boolean bKeepCommonNodes)
           throws java.io.IOException,
                  AutomationException
Merges two embedded polygons sharing the specified common edge.

Specified by:
merge in interface ITinFeatureEdit
Parameters:
pCommonEdge - A reference to a com.esri.arcgis.geodatabase.ITinEdge (in)
newValue - The newValue (in)
bKeepCommonNodes - The bKeepCommonNodes (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteVertex

public void deleteVertex(ITinNode pNode,
                         ITinFeatureSeed pSeed)
                  throws java.io.IOException,
                         AutomationException
Deletes the specified vertex from an embedded polygon/polyline.

Specified by:
deleteVertex in interface ITinFeatureEdit
Parameters:
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveVertex

public void moveVertex(ITinNode pNode,
                       ITinFeatureSeed pSeed,
                       _WKSPoint pNewLocation,
                       boolean bGetNewZ)
                throws java.io.IOException,
                       AutomationException
Moves the specified vertex of an embedded polygon/polyline to a new location.

Specified by:
moveVertex in interface ITinFeatureEdit
Parameters:
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
pNewLocation - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
bGetNewZ - The bGetNewZ (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAdjacentVertices

public void queryAdjacentVertices(ITinFeatureSeed pSeedEdge,
                                  ITinNode pBehind,
                                  ITinNode pFront)
                           throws java.io.IOException,
                                  AutomationException
Queries the first two non-densified nodes of a line segment represented by the specified edge).

Specified by:
queryAdjacentVertices in interface ITinFeatureEdit
Parameters:
pSeedEdge - A reference to a com.esri.arcgis.geodatabase.ITinFeatureSeed (in)
pBehind - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
pFront - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clusterPoints

public IEnumTinNode clusterPoints(ITinNode pSeed,
                                  double spacing,
                                  ITinFilter pFilter)
                           throws java.io.IOException,
                                  AutomationException
Finds a cluster of nodes, each node in the group has at least one neighbor, to which the distance is smaller, or equal to, the specified value.

Specified by:
clusterPoints in interface ITinFeatureEdit
Parameters:
pSeed - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
spacing - The spacing (in)
pFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNodeShared

public boolean isNodeShared(ITinNode pNode)
                     throws java.io.IOException,
                            AutomationException
Returns TRUE if specified node is shared by more than two enforced edges.

Specified by:
isNodeShared in interface ITinFeatureEdit
Parameters:
pNode - A reference to a com.esri.arcgis.geodatabase.ITinNode (in)
Returns:
The pIsShared
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshTagValues

public void refreshTagValues()
                      throws java.io.IOException,
                             AutomationException
Refresh cached TIN tag values.

Specified by:
refreshTagValues in interface ITinFeatureEdit
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
Reset clock.

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

sleep

public void sleep(double seconds)
           throws java.io.IOException,
                  AutomationException
Suspends the execution of the current thread for the specified interval (in seconds).

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

getElapsedTime

public double getElapsedTime()
                      throws java.io.IOException,
                             AutomationException
Return elapsed (since last Reset call) time in seconds.

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

getNodeEditInfo

public int getNodeEditInfo(int nodeIndex)
                    throws java.io.IOException,
                           AutomationException
Node info.

Specified by:
getNodeEditInfo in interface ITinNodeInfo
Parameters:
nodeIndex - The nodeIndex (in)
Returns:
The pInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearEditErrorLog

public void clearEditErrorLog()
                       throws java.io.IOException,
                              AutomationException
Clears existing error log contents.

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

saveEditErrorLog

public void saveEditErrorLog(java.lang.String fileName)
                      throws java.io.IOException,
                             AutomationException
Saves error log contents to a file.

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

getEditErrorCount

public int getEditErrorCount()
                      throws java.io.IOException,
                             AutomationException
The number of errors.

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

setCurrentObjectClassName

public void setCurrentObjectClassName(java.lang.String pName)
                               throws java.io.IOException,
                                      AutomationException
Name representing a group of shapes to be added/edited.

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

getCurrentObjectClassName

public java.lang.String getCurrentObjectClassName()
                                           throws java.io.IOException,
                                                  AutomationException
Name representing a group of shapes to be added/edited.

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

setCurrentObjectID

public void setCurrentObjectID(int pID)
                        throws java.io.IOException,
                               AutomationException
ID of the shape to be added/edited.

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

getCurrentObjectID

public int getCurrentObjectID()
                       throws java.io.IOException,
                              AutomationException
ID of the shape to be added/edited.

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