com.esri.arcgis.geodatabase
Class TinDataElementFilter

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TinDataElementFilter
All Implemented Interfaces:
ITinFilter, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class TinDataElementFilter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinFilter, ISupportErrorInfo

The ESRI TinDataElementFilter component.

Description

The TinDataElementFilter is used to filter nodes, edges, and triangles based on whether they are within the interpolation zone, or data area, of the TIN.

TIN elements (nodes, edges, triangles) can exist inside or outside the TIN's data area. When TINs are built from points or breaklines the data area is a convex hull that includes all user entered data. The only elements that are 'outside' are the four supernodes and their incident edges and triangles. If clip or erase polygons are added to the TIN they further modify what is considered to be 'inside'. This occurs through triangle masking. See TinTriangle for more information on masking and data area delineation.

The TinDataElementFilter is typically used with a TIN element enumerator (e.g. TinNodeEnumerator) to return either those elements that are inside the TIN's data area, or all elements. This is the most basic TIN element filter. It implements ITinFilter. Use this filter when you're only concerned about inside vs. outside. Other TIN filters implement interfaces which inherit from ITinFilter and therefore can filter on this plus additional properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinDataElementFilter()
          Constructs a TinDataElementFilter using ArcGIS Engine.
TinDataElementFilter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinDataElementFilter theTinDataElementFilter = (TinDataElementFilter) obj;
 
Method Summary
 boolean canPass(ITinElement pElement)
          Indicates if the specified element meets the filter criteria.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isDataElementsOnly()
          Indicates whether the returned elements should be inside the data area.
 void setDataElementsOnly(boolean pbDataElementsOnly)
          Indicates whether the returned elements should be inside the data area.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

TinDataElementFilter

public TinDataElementFilter()
                     throws IOException,
                            UnknownHostException
Constructs a TinDataElementFilter using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

TinDataElementFilter

public TinDataElementFilter(Object obj)
                     throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinDataElementFilter theTinDataElementFilter = (TinDataElementFilter) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

canPass

public boolean canPass(ITinElement pElement)
                throws IOException,
                       AutomationException
Indicates if the specified element meets the filter criteria.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
canPass in interface ITinFilter
Parameters:
pElement - A reference to a com.esri.arcgis.geodatabase.ITinElement (in)
Returns:
The pbCanPass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataElementsOnly

public void setDataElementsOnly(boolean pbDataElementsOnly)
                         throws IOException,
                                AutomationException
Indicates whether the returned elements should be inside the data area.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDataElementsOnly in interface ITinFilter
Parameters:
pbDataElementsOnly - The pbDataElementsOnly (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDataElementsOnly

public boolean isDataElementsOnly()
                           throws IOException,
                                  AutomationException
Indicates whether the returned elements should be inside the data area.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDataElementsOnly in interface ITinFilter
Returns:
The pbDataElementsOnly
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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