com.esri.arcgis.geodatabase
Class TinEdgeTypeFilter

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

public class TinEdgeTypeFilter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinDynamicFilter, ITinEdgeTypeFilter, ITinEdgeTypeFilter2, ISupportErrorInfo

The ESRI TinEdgeTypeFilter component.

Description

The TinEdgeTypeFilter is used to filter edges based on whether they are enforced in the triangulation, and if so the type of enforcement, or if they are simply incidental to the triangulation. Edge types are described through the esriTinEdgeType enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinEdgeTypeFilter()
          Constructs a TinEdgeTypeFilter using ArcGIS Engine.
TinEdgeTypeFilter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinEdgeTypeFilter theTinEdgeTypeFilter = (TinEdgeTypeFilter) 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 getType()
          The surface feature type of the filter.
 int hashCode()
          the hashcode for this object
 int init(ITinElement pElement)
          Re/establishes the filter; determines and returns an ID for the subset of elements represented by the index.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isDataElementsOnly()
          Indicates whether the returned elements should be inside the data area.
 boolean isRegularEdgesExcluded()
          Indicates if regular edges should be excluded.
 void setDataElementsOnly(boolean pbDataElementsOnly)
          Indicates whether the returned elements should be inside the data area.
 void setRegularEdgesExcluded(boolean pbExcludeRegularEdge)
          Indicates if regular edges should be excluded.
 void setType(int pType)
          The surface feature type of the filter.
 
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

TinEdgeTypeFilter

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

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

TinEdgeTypeFilter

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

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

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

init

public int init(ITinElement pElement)
         throws IOException,
                AutomationException
Re/establishes the filter; determines and returns an ID for the subset of elements represented by the index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

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.

setType

public void setType(int pType)
             throws IOException,
                    AutomationException
The surface feature type of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setType in interface ITinEdgeTypeFilter
Parameters:
pType - A com.esri.arcgis.geodatabase.esriTinEdgeType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws IOException,
                   AutomationException
The surface feature type of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getType in interface ITinEdgeTypeFilter
Returns:
A com.esri.arcgis.geodatabase.esriTinEdgeType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRegularEdgesExcluded

public void setRegularEdgesExcluded(boolean pbExcludeRegularEdge)
                             throws IOException,
                                    AutomationException
Indicates if regular edges should be excluded.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isRegularEdgesExcluded

public boolean isRegularEdgesExcluded()
                               throws IOException,
                                      AutomationException
Indicates if regular edges should be excluded.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRegularEdgesExcluded in interface ITinEdgeTypeFilter2
Returns:
The pbExcludeRegularEdge
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.