com.esri.arcgis.geodatabase
Class TinPolyline

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

public class TinPolyline
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinPolyline, ISupportErrorInfo

The ESRI TinPolyline component.

Description

A TinPolyline is a linear feature embedded in a triangulation. It is defined by a set of connected edges that share like properties. These properties are set using one of the TinFilters. Edges that have properties compatible with the filter are considered part of the set. TinPolyline objects are created via ITinAdvanced.ExtractPolyline.

Different types of filters can be used to define a TinPolyline. Some are provided by 3D Analyst. Others can be custom made. Stock filters that support TinPolyline definition include TinEdgeTypeFilter and TinValueFilter.

In addition to a filter, a TinPolyline needs a starting location which is specified using a seed edge. The seed and filter are used together to dynamically discover a polyline. The seed can exist anywhere along the polyline. When the software extracts a TinPolyline it starts with the seed and uses the TIN's topology to search outward. An edge incident to the seed that passes through the filter is added to the set. Its neighbors are examined in turn. This continues iteratively until no more edges are found. Junctures exist at nodes where more than two edges with the appropriate filter properties come together. Junctures represent locations where two or more TinPolylines meet. The iterative search process does not pass through junctures.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
TinPolyline(Object obj)
          Construct a TinPolyline using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 IEnumTinEdge asEdges()
          The specified polyline as triangle edges.
 IEnumTinNode asNodes()
          The specified polyline as TIN nodes.
 IPolyline asPolyline(ITinFilter pNodeFilter, boolean bGetZ)
          The specified polyline as polyline geometry.
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 
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

TinPolyline

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

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

Throws:
IOException - if there are interop problems TinPolyline theTinPolyline = (TinPolyline) obj;
Method Detail

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

asNodes

public IEnumTinNode asNodes()
                     throws IOException,
                            AutomationException
The specified polyline as TIN nodes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
asNodes in interface ITinPolyline
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinNode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

asEdges

public IEnumTinEdge asEdges()
                     throws IOException,
                            AutomationException
The specified polyline as triangle edges.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
asEdges in interface ITinPolyline
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTinEdge
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

asPolyline

public IPolyline asPolyline(ITinFilter pNodeFilter,
                            boolean bGetZ)
                     throws IOException,
                            AutomationException
The specified polyline as polyline geometry.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
asPolyline in interface ITinPolyline
Parameters:
pNodeFilter - A reference to a com.esri.arcgis.geodatabase.ITinFilter (in)
bGetZ - The bGetZ (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
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.