com.esri.arcgis.geodatabase
Class TinTriangleFilter

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

public class TinTriangleFilter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinDynamicFilter, ITinTriangleFilter, ISupportErrorInfo

The ESRI TinTriangleFilter component.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinTriangleFilter()
          Constructs a TinTriangleFilter using ArcGIS Engine.
TinTriangleFilter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinTriangleFilter theTinTriangleFilter = (TinTriangleFilter) 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
 int getActiveBound()
          The active boundaries of the filter.
 ILongArray getClassBreakCodes()
          The filter's numeric values used to represent each class.
 IDoubleArray getClassBreaks()
          The classification categories of the filter.
static String getClsid()
          getClsid.
 double getLowerBound()
          The lower bound of the filter.
 int getPropertyType()
          The property that the filter classifies on.
 double getUniqueValue()
          The unique value of the filter.
 double getUpperBound()
          The upper bound 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.
 void setActiveBound(int pType)
          The active boundaries of the filter.
 void setClassBreakCodesByRef(ILongArray ppCodes)
          The filter's numeric values used to represent each class.
 void setClassBreaksByRef(IDoubleArray ppBreaks)
          The classification categories of the filter.
 void setDataElementsOnly(boolean pbDataElementsOnly)
          Indicates whether the returned elements should be inside the data area.
 void setLowerBound(double pBound)
          The lower bound of the filter.
 void setPropertyType(int pType)
          The property that the filter classifies on.
 void setUniqueValue(double pValue)
          The unique value of the filter.
 void setUpperBound(double pBound)
          The upper bound 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

TinTriangleFilter

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

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

TinTriangleFilter

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

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

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.

setPropertyType

public void setPropertyType(int pType)
                     throws IOException,
                            AutomationException
The property that the filter classifies on.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getPropertyType

public int getPropertyType()
                    throws IOException,
                           AutomationException
The property that the filter classifies on.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setLowerBound

public void setLowerBound(double pBound)
                   throws IOException,
                          AutomationException
The lower bound of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getLowerBound

public double getLowerBound()
                     throws IOException,
                            AutomationException
The lower bound of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLowerBound in interface ITinTriangleFilter
Returns:
The pBound
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUpperBound

public void setUpperBound(double pBound)
                   throws IOException,
                          AutomationException
The upper bound of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getUpperBound

public double getUpperBound()
                     throws IOException,
                            AutomationException
The upper bound of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getUpperBound in interface ITinTriangleFilter
Returns:
The pBound
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassBreaksByRef

public void setClassBreaksByRef(IDoubleArray ppBreaks)
                         throws IOException,
                                AutomationException
The classification categories of the filter.

Product Availability

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

Specified by:
setClassBreaksByRef in interface ITinTriangleFilter
Parameters:
ppBreaks - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassBreaks

public IDoubleArray getClassBreaks()
                            throws IOException,
                                   AutomationException
The classification categories of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassBreaks in interface ITinTriangleFilter
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassBreakCodesByRef

public void setClassBreakCodesByRef(ILongArray ppCodes)
                             throws IOException,
                                    AutomationException
The filter's numeric values used to represent each class.

Product Availability

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

Specified by:
setClassBreakCodesByRef in interface ITinTriangleFilter
Parameters:
ppCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassBreakCodes

public ILongArray getClassBreakCodes()
                              throws IOException,
                                     AutomationException
The filter's numeric values used to represent each class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassBreakCodes in interface ITinTriangleFilter
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUniqueValue

public void setUniqueValue(double pValue)
                    throws IOException,
                           AutomationException
The unique value of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getUniqueValue

public double getUniqueValue()
                      throws IOException,
                             AutomationException
The unique value of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getUniqueValue in interface ITinTriangleFilter
Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveBound

public void setActiveBound(int pType)
                    throws IOException,
                           AutomationException
The active boundaries of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getActiveBound

public int getActiveBound()
                   throws IOException,
                          AutomationException
The active boundaries of the filter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getActiveBound in interface ITinTriangleFilter
Returns:
A com.esri.arcgis.geodatabase.esriTinBoundType constant
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.