ITinAdvanced Interface

Provides access to members that control advanced TIN functions.

Members

Name Description
Method ConvertToPolygons Converts similar triangles to a polygon feature class.
Read-only property DataEdgeCount The number of TIN edges that have a data triangle on one side or the other.
Read-only property DataNodeCount The number of data nodes in the TIN.
Read-only property DataTriangleCount The number of data triangles in the TIN.
Read-only property EdgeCount The total number of edges in the TIN.
Read-only property Extent The interpolation zone of the TIN.
Method ExtractPolygon Returns a polygon definition based on all contiguous triangles having the same filter criteria.
Method ExtractPolyline Returns a polyline definition based on triangle edges that meet the same filter criteria.
Read-only property Fields The collection of attribute items of the TIN.
Method FindNaturalNeighbors Returns the immediate surrounding nodes to the query point.
Method FindTriangle The triangle at the specified location.
Method FindTriangleNeighborhood Returns all triangles whose circumscribed circle contains the query point.
Read/write property Flag The user-defined flag for the TIN.
Read-only property FullExtent The full 2D-extent of the TIN including NODATA nodes.
Method GenerateUniqueTagValue Returns a new, previously unused tag value for the element.
Method GetDataArea Returns a polygon representing the data area of the TIN.
Method GetEdge The edge referenced by the index.
Method GetEdgeTagValue The tag value of the edge referenced by the index.
Method GetEdgeType Gets the specified edge's type.
Method GetNode The node referenced by the specified index.
Method GetNodeTagValue The tag value of the node referenced by the index.
Method GetNodeZ The z value of the node referenced by the index.
Method GetTriangle The triangle referenced by the index.
Method GetTriangleSeeds Returns one triangle representing each polygon defined by the filter criteria of the TIN.
Method GetTriangleTagValue The tag value of the triangle referenced by the index.
Method GetUniqueTagValues Returns unique tag values for the specified element type.
Read-only property HasEdgeTagValues Indicates if the TIN dataset has edge tag values.
Read-only property HasNodeTagValues Indicates if the TIN dataset has node tag values.
Read-only property HasTriangleTagValues Indicates if the TIN dataset has triangle tag values.
Method Init Opens the specified TIN.
Read-only property IsDelaunay Indicates if TIN was constructed using Delaunay triangulation.
Read-only property IsEmpty Indicates if the TIN contains no data.
Method IsVoidZ Indicates if the passed value is equal to the TIN's void value.
Method MakeEdgeEnumerator Makes an edge enumerator based on the extent of the envelope.
Method MakeNodeEnumerator Makes a node enumerator based on the extent of the envelope.
Method MakeTriangleEnumerator Makes a triangle enumerator based on the extent of the envelope.
Read-only property NodeCount The total number of nodes in the TIN.
Read/write property ProcessCancelled Indicates if a process has been cancelled.
Method QueryEdge The edge equal to that referenced by the index.
Method QueryEdgeAsLine The line equal to the edge referenced by the index.
Method QueryEdgeAsWKSPointZs The points equal to the end points of the edge referenced by the index.
Method QueryNearestEdge Finds and returns the nearest edge to the query point.
Method QueryNearestNode Finds and returns the nearest node to the query point.
Method QueryNode Queries the node equal to that specified by the index.
Method QueryNodeAsPoint Queries the point equal to that specified by the index.
Method QueryNodeAsWKSPointZ Queries the point equal to that specified by the index.
Method QueryTriangle The triangle equal to that referenced by the index.
Method QueryTriangleAsRing The ring equal to the triangle referenced by the index.
Method QueryTriangleAsWKSPointZs Queries the points equal to the nodes of the triangle referenced by the index.
Method SaveAs Saves the TIN to disk using the specified name.
Method SetEmpty Uninitializes the TIN.
Read-only property SuperNodeExtent The full extent of the TIN based on the super nodes.
Read-only property Surface The ISurface interface (convenient tool for chaining in VB).
Read/write property TrackCancel The process cancellation on TIN methods.
Read-only property TriangleCount The total number of triangles in the TIN.
Read-only property UniqueTagValueCount The number of unique tag values for the specified element type.
Read-only property Version Returns the version number of the TIN engine used to build the TIN.
Read/write property ZFactor Multiplication factor applied to all z values in a TIN to provide unit-congruency between coordinate components.

ITinAdvanced.ConvertToPolygons Method

Converts similar triangles to a polygon feature class.

Public Sub ConvertToPolygons ( _
    ByVal pFeatureClass As IFeatureClass, _
    ByVal pFilter As ITinDynamicFilter, _
    ByVal bStopAtEnforcedEdge As Boolean, _
    [ByRef pFieldName As Object] _
)
public void ConvertToPolygons (
    IFeatureClass pFeatureClass,
    ITinDynamicFilter pFilter,
    bool bStopAtEnforcedEdge,
    ref object pFieldName
);

Description

Converts a TIN to a polygon based feature class. Contiguous clusters of triangles that fall into the same class, as defined by the passed filter, define the polygons.

FeatureClass must be a 2D polygon feature class. This is the target for the output polygons.

The filter needs to implement ITinDynamicFilter. Examples of these are TinValueFilter and TinTriangleFilter. Through use of these filters you can classify triangles based on a variety of attributes including, but not limited to, tag value, slope, and aspect. Contiguous clusters of triangles belonging to the same class are grouped into polygons and written to the feature class. If the ActiveBound for either of these filters is set to esriTinUniqueValue it means contiguous triangles with identical values will be extracted as polygons - for all unique values (with the exception of zero if ITinValueFilter2.ZeroTagValueExcluded is set to TRUE).

If the StopAtEnforcedEdges Boolean is set to TRUE then adjacent clusters of triangles belonging to the same class, but separated by enforced edges (breaklines), will be output as separate polygons.

Polygon class codes are written to a field that is added to the feature class. It is named �Code� by default but you can use the optional FieldName argument to give it a different name.

Do not have WorkspaceEdit turned on as this member needs to add a field to the output feature class, which is a schema edit operation that WorkspaceEdit does not permit.

ITinAdvanced.EdgeCount Property

The total number of edges in the TIN.

Public ReadOnly Property EdgeCount As Integer
public int EdgeCount {get;}

Description

The total number of edges in the TIN. The number is equivalent to 3 times the total number of triangles.

Note, the edge count uses what's termed a double edge interpretation. This is where the shared edge between two triangles is counted twice; once for each triangle.

ITinAdvanced.ExtractPolygon Method

Returns a polygon definition based on all contiguous triangles having the same filter criteria.

Public Function ExtractPolygon ( _
    ByVal pSeed As ITinElement, _
    ByVal pFilter As ITinFilter, _
    ByVal bStopAtEnforcedEdge As Boolean _
) As ITinPolygon
public ITinPolygon ExtractPolygon (
    ITinElement pSeed,
    ITinFilter pFilter,
    bool bStopAtEnforcedEdge
);

Description

Returns a TinPolygon that references the polygon defined by the input seed and filter.

The seed is a TIN triangle that falls within the desired polygon or a TIN edge that falls on its boundary. An edge seed can only extract a single part polygon without holes.

The filter defines the criteria used to extract the polygon. Starting from a triangle based seed outward, all triangles that can pass through the filter are considered part of the polygon (the inside). If an edge is given as a seed, connected edges that pass through the filter are used to define the polygon boundary.

The filter argument can be NULL ('Nothing' in VB) if the seed is a triangle. A filter is required if the seed is an edge.

Use no filter with the bStopAtEnforcedEdge argument set to TRUE to extract polygons whose definition is that they are enclosed by breaklines. Be careful, no filter with bStopAtEnforcedEdge set to FALSE is guaranteed to return all triangles in the TIN. Also, while an area may look closed it may not actually be. This can return many more triangles than expected.

ITinAdvanced.ExtractPolyline Method

Returns a polyline definition based on triangle edges that meet the same filter criteria.

Public Function ExtractPolyline ( _
    ByVal pSeed As ITinEdge, _
    ByVal pFilter As ITinFilter _
) As ITinPolyline
public ITinPolyline ExtractPolyline (
    ITinEdge pSeed,
    ITinFilter pFilter
);

Description

Returns a TinPolyline that represents the polyline defined by the input seed and filter.

The seed is a TIN edge that falls anywhere along the desired polyline.

The filter defines the criteria used to extract the polyline. Starting from one node of the seed edge, the function looks for an adjoining edge that passes through the filter. As long as there is one, and only one, adjoining edge that passes through the filter it gets included in the polyline definition and becomes the next step in the iteration. After the end is reached in one direction, the same process occurs starting from the other node of the seed edge.

If the polyline you want to extract is, for example, a hard breakline, you find one edge along that line to use as a seed, and set the Type property of the TinEdgeTypeFilter to �esriTinHardEdge�.

Line junctures exist when three or more edges with the filter property meet at a node. They are where lines meet or intersect. ExtractPolyline stops at junctures; it never returns lines that pass through them.

ITinAdvanced.FindNaturalNeighbors Method

Returns the immediate surrounding nodes to the query point.

Public Function FindNaturalNeighbors ( _
    ByVal pPoint As IPoint _
) As ITinNodeArray
public ITinNodeArray FindNaturalNeighbors (
    IPoint pPoint
);

Description

Returns an array of nodes that are the natural neighbors of the input query point.

The natural neighbors of a given query point are the nodes it would connect with to form triangles if it were inserted in the triangulation. They are the closest surrounding nodes in all directions.

In most cases, the number of neighboring nodes is small. It averages around 6 to 8. Depending on the data distribution and the location of the query point it can be much larger though.

If the query point is coincident with an existing node then that node's neighbors will be returned.

Returns a null pointer ('Nothing' in VB) if the result is an empty set. This will occur when the query point falls outside the triangulation.

The TIN must be Delaunay.

ITinAdvanced.FindTriangle Method

The triangle at the specified location.

Public Function FindTriangle ( _
    ByVal pPoint As IPoint _
) As ITinTriangle
public ITinTriangle FindTriangle (
    IPoint pPoint
);

Description

Returns the triangle that contains the given query point.

If the query point is incident to a node or edge than the triangle to return is ambiguous. In either case the function will select the first triangle it finds.

ITinAdvanced.FindTriangleNeighborhood Method

Returns all triangles whose circumscribed circle contains the query point.

Public Function FindTriangleNeighborhood ( _
    ByVal pPoint As IPoint _
) As ITinTriangleArray
public ITinTriangleArray FindTriangleNeighborhood (
    IPoint pPoint
);

Description

Returns an array of triangles that are in proximity to the input query point.

The triangles returned are those that would be invalidated/redefined if the query point were inserted into the TIN as a new node.

In most cases, the number of triangles is small. It averages around 6-8. Depending on the data distribution and the location of the query point it can be much larger though.

Returns Nothing if result is empty set (query point outside tin).

The TIN must be Delaunay.

ITinAdvanced.Flag Property

The user-defined flag for the TIN.

Public Property Flag As Integer
public int Flag {get; set;}

Description

An integer (long) value that can be assigned to the TIN. Its meaning/purpose is user defined.

ITinAdvanced.FullExtent Property

The full 2D-extent of the TIN including NODATA nodes.

Public ReadOnly Property FullExtent As IEnvelope
public IEnvelope FullExtent {get;}

Description

Returns the miminum bounding rectangle (2D) that surrounds all user supplied data in the TIN, including data outside the interpolation zone.

ITinAdvanced.GenerateUniqueTagValue Method

Returns a new, previously unused tag value for the element.

Public Function GenerateUniqueTagValue ( _
    ByVal Type As esriTinElementType _
) As Integer
public int GenerateUniqueTagValue (
    esriTinElementType Type
);

Description

Returns an integer that is not already used as a tag value by the specified element type - node, triangle or edge. This can be useful in assigning unique identifiers to features that are added to the triangulation.

ITinAdvanced.GetDataArea Method

Returns a polygon representing the data area of the TIN.

Public Function GetDataArea ( _
) As IPolygon
public IPolygon GetDataArea (
);

Description

Returns the data area of the TIN as a ZAware polygon. The data area is defined as the boundary between those triangles that are marked as 'inside' and those marked as 'outside'. It is the same thing as the interpolation zone.

The returned polygon is topologically simplified. This is done to ensure everything about the polygon is valid. A consequence is that some vertices may have been moved (snapped) slightly and therefore do not exactly match the corresponding TIN node positions. If you require an exact match consider using ITinPolygon.AsPolygon.

ITinAdvanced.GetEdge Method

The edge referenced by the index.

Public Function GetEdge ( _
    ByVal Index As Integer _
) As ITinEdge
public ITinEdge GetEdge (
    int Index
);

Description

Returns the edge referenced by the index. The index base value for edges is 1.

ITinAdvanced.GetEdgeTagValue Method

The tag value of the edge referenced by the index.

Public Function GetEdgeTagValue ( _
    ByVal Index As Integer _
) As Integer
public int GetEdgeTagValue (
    int Index
);

Description

Returns the tag value of the edge referenced by the index. The base index for edges is 1.

The returned value will be 0 if the TIN has never been assigned any edge tag values or the edge itself has not been assigned a value.

ITinAdvanced.GetEdgeType Method

Gets the specified edge's type.

Public Sub GetEdgeType ( _
    ByVal edgeIndex As Integer, _
    ByRef pType As esriTinEdgeType _
)
public void GetEdgeType (
    int edgeIndex,
    ref esriTinEdgeType pType
);

ITinAdvanced.GetNode Method

The node referenced by the specified index.

Public Function GetNode ( _
    ByVal Index As Integer _
) As ITinNode
public ITinNode GetNode (
    int Index
);

Description

Returns the node referenced by the index. The index base value for nodes is 1.

ITinAdvanced.GetNodeTagValue Method

The tag value of the node referenced by the index.

Public Function GetNodeTagValue ( _
    ByVal Index As Integer _
) As Integer
public int GetNodeTagValue (
    int Index
);

Description

Returns the tag value of the node referenced by the index. The base index for nodes is 1.

The returned value will be 0 if the TIN has never been assigned any node tag values or the node itself has not been assigned a value.

ITinAdvanced.GetNodeZ Method

The z value of the node referenced by the index.

Public Function GetNodeZ ( _
    ByVal Index As Integer _
) As Double
public double GetNodeZ (
    int Index
);

Description

Returns the Z value of the node referenced by the index. The base index for nodes is 1.

ITinAdvanced.GetTriangle Method

The triangle referenced by the index.

Public Function GetTriangle ( _
    ByVal Index As Integer _
) As ITinTriangle
public ITinTriangle GetTriangle (
    int Index
);

Description

Returns the triangle referenced by the index. The index base for triangles is 1.

ITinAdvanced.GetTriangleSeeds Method

Returns one triangle representing each polygon defined by the filter criteria of the TIN.

Public Function GetTriangleSeeds ( _
    ByVal pFilter As ITinDynamicFilter, _
    ByVal bStopAtEnforcedEdge As Boolean _
) As IEnumTinTriangle
public IEnumTinTriangle GetTriangleSeeds (
    ITinDynamicFilter pFilter,
    bool bStopAtEnforcedEdge
);

ITinAdvanced.GetTriangleTagValue Method

The tag value of the triangle referenced by the index.

Public Function GetTriangleTagValue ( _
    ByVal Index As Integer _
) As Integer
public int GetTriangleTagValue (
    int Index
);

Description

Returns the tag value of the triangle referenced by the index. The base index for triangles is 1.

The returned value will be 0 if the TIN has never been assigned any triangle tag values or the triangle itself has not been assigned a value.

ITinAdvanced.GetUniqueTagValues Method

Returns unique tag values for the specified element type.

Public Function GetUniqueTagValues ( _
    ByVal Type As esriTinElementType _
) As ILongArray
public ILongArray GetUniqueTagValues (
    esriTinElementType Type
);

Description

Returns an array of integers containing all the tag values used for the given element type - node, edge, or triangle.

The array can potentially be as large as the number of elements. It's a good idea to check how many unique values there are using UniqueTagValueCount before executing this function.

The returned tag values will be sorted in ascending order if the TIN has been created by, or saved/copied by the 8.1 version of this software or later. The tag values might otherwise not be sorted.

The arrays will be set to Null ('Nothing' in VB) if the TIN has no tags related to the specified element type.

ITinAdvanced.Init Method

Opens the specified TIN.

Public Sub Init ( _
    ByVal Name As String _
)
public void Init (
    string Name
);

Description

Initializes the object by pointing to a TIN on disk at the specified location.

ITinAdvanced.IsVoidZ Method

Indicates if the passed value is equal to the TIN's void value.

Public Function IsVoidZ ( _
    ByVal Value As Double _
) As Boolean
public bool IsVoidZ (
    double Value
);

Description

Returns TRUE or FALSE depending on whether the specified Z is considered NODATA. Mathmatical operations cannot be performed on NODATA.

Some functions, such as ISurface.GetElevation, return a floating point number representing some characteristic of the surface for a given location. If the location does not fall within the interpolation zone some value representing NODATA must be returned. IsVoidZ can be used to evaluate if the result is NODATA.

The _super_nodes of a TIN have a Z value equal to NODATA. A super node is one of four nodes added by the software when a TIN is initially created (ITinEdit.InitNew). They reside far outside the declared data extent and are used to define an initial triangulation before user data gets added. Triangles incident to these nodes are always flagged as being outside the TIN's interpolation zone.

ITinAdvanced.MakeEdgeEnumerator Method

Makes an edge enumerator based on the extent of the envelope.

Public Function MakeEdgeEnumerator ( _
    ByVal pAreaOfInterest As IEnvelope, _
    ByVal Criteria As Integer, _
    ByVal pFilter As ITinFilter _
) As IEnumTinEdge
public IEnumTinEdge MakeEdgeEnumerator (
    IEnvelope pAreaOfInterest,
    int Criteria,
    ITinFilter pFilter
);

Description

Returns an edge enumerator that honors the constraints defined by the input arguments.

The pAreaOfInterest argument is an envelope that defines the area for which elements will be returned. Only edges that fall inside the envelope qualify. The argument can be set to a Null pointer ('Nothing' in VB) in which case the TIN's data extent will be used.

The Criteria argument takes an esriTinQualification enumeration. The possible values for edges are esriTinAll, esriTinInsideTin, esriTinInsideDataArea, esriTinSingleEdge and esriTinDoubleEdges. The arguments are additive so you can set two things at once. For example 'esriTinInsideDataArea + esriTinDoubleEdges'. The esriTinSingleEdge and esriTinDoubleEdges enumerations define whether a maximum of one edge between two adjacent triangles is returned or two (one edge for each triangle). If unspecified, esriTinSingleEdge is used.

The pFilter argument is an additional constraint that can be applied. Any valid TinFilter can be used. Pass a Null pointer ('Nothing' in VB) if you don't want to apply a filter.

ITinAdvanced.MakeNodeEnumerator Method

Makes a node enumerator based on the extent of the envelope.

Public Function MakeNodeEnumerator ( _
    ByVal pAreaOfInterest As IEnvelope, _
    ByVal Criteria As Integer, _
    ByVal pFilter As ITinFilter _
) As IEnumTinNode
public IEnumTinNode MakeNodeEnumerator (
    IEnvelope pAreaOfInterest,
    int Criteria,
    ITinFilter pFilter
);

Description

Returns a node enumerator that honors the constraints defined by the input arguments.

The pAreaOfInterest argument is an envelope that defines the area for which elements will be returned. Only nodes that fall inside the envelope qualify. The argument can be set to a Null pointer ('Nothing' in VB) in which case the TIN's data extent will be used.

The Criteria argument takes an esriTinQualification enumeration. The possible values for nodes are esriTinAll, esriTinInsideTin, esriTinInsideDataArea.

The pFilter argument is an additional constraint that can be applied. Any valid TinFilter can be used. Pass a Null pointer ('Nothing' in VB) if you don't want to apply a filter.

Functional License Check

If your application/site is not appropriately licensed, MakeNodeEnumerator can return an error of .

ITinAdvanced.MakeTriangleEnumerator Method

Makes a triangle enumerator based on the extent of the envelope.

Public Function MakeTriangleEnumerator ( _
    ByVal pAreaOfInterest As IEnvelope, _
    ByVal Criteria As Integer, _
    ByVal pFilter As ITinFilter _
) As IEnumTinTriangle
public IEnumTinTriangle MakeTriangleEnumerator (
    IEnvelope pAreaOfInterest,
    int Criteria,
    ITinFilter pFilter
);

Description

Returns a triangle enumerator that honors the constraints defined by the input arguments.

The pAreaOfInterest argument is an envelope that defines the area for which elements will be returned. Only triangles that fall inside the envelope qualify. The argument can be set to a Null pointer ('Nothing' in VB) in which case the TIN's data extent will be used.

The Criteria argument takes an esriTinQualification enumeration. The possible values for triangles are esriTinAll, esriTinInsideTin, esriTinInsideDataArea.

The pFilter argument is an additional constraint that can be applied. Any valid TinFilter can be used. Pass a Null pointer ('Nothing' in VB) if you don't want to apply a filter.

ITinAdvanced.NodeCount Property

The total number of nodes in the TIN.

Public ReadOnly Property NodeCount As Integer
public int NodeCount {get;}

Description

The total number of nodes in the TIN includes those both inside and outside the interpolation zone.

ITinAdvanced.ProcessCancelled Property

Indicates if a process has been cancelled.

Public Property ProcessCancelled As Boolean
public bool ProcessCancelled {get; set;}

Description

If the TIN has its TrackCancel property set, and one of the following functions is cancelled (e.g. by user pressing Esc), this property will return TRUE.

ITinAdvanced.ConvertToPolygonsISurface.AsPolygonsISurface.ContourISurface.ContourListISurface.GetProjectedAreaISurface.GetSurfaceAreaISurface.GetVolumeISurface.QueryPixelBlockITinEdit.AddFromFeatureClassITinEdit.AddFromFeatureCursorITinEdit.AddFromPixelBlockITinNodeCollection.ConvertToVoronoiRegions

Custom functions that pay attention to TrackCancel can write to the ProcessCancelled property to indicate whether or not the function was cancelled. This is something that should be considered when developing custom functions that can run on for some time and where a user might be inclined to cancel the operation.

ITinAdvanced.QueryEdge Method

The edge equal to that referenced by the index.

Public Sub QueryEdge ( _
    ByVal Index As Integer, _
    ByVal pEdge As ITinEdge _
)
public void QueryEdge (
    int Index,
    ITinEdge pEdge
);

ITinAdvanced.QueryEdgeAsLine Method

The line equal to the edge referenced by the index.

Public Sub QueryEdgeAsLine ( _
    ByVal Index As Integer, _
    ByVal pLine As ILine _
)
public void QueryEdgeAsLine (
    int Index,
    ILine pLine
);

ITinAdvanced.QueryEdgeAsWKSPointZs Method

The points equal to the end points of the edge referenced by the index.

Public Sub QueryEdgeAsWKSPointZs ( _
    ByVal Index As Integer, _
    ByRef pFrom As WKSPointZ, _
    ByRef pTo As WKSPointZ _
)
public void QueryEdgeAsWKSPointZs (
    int Index,
    ref WKSPointZ pFrom,
    ref WKSPointZ pTo
);

ITinAdvanced.QueryNearestEdge Method

Finds and returns the nearest edge to the query point.

Public Sub QueryNearestEdge ( _
    ByVal pPoint As IPoint, _
    ByVal pEdge As ITinEdge, _
    ByRef pDistance As Double _
)
public void QueryNearestEdge (
    IPoint pPoint,
    ITinEdge pEdge,
    ref double pDistance
);

ITinAdvanced.QueryNearestNode Method

Finds and returns the nearest node to the query point.

Public Sub QueryNearestNode ( _
    ByVal pPoint As IPoint, _
    ByVal pNode As ITinNode, _
    ByRef pDistance As Double _
)
public void QueryNearestNode (
    IPoint pPoint,
    ITinNode pNode,
    ref double pDistance
);

ITinAdvanced.QueryNode Method

Queries the node equal to that specified by the index.

Public Sub QueryNode ( _
    ByVal Index As Integer, _
    ByVal pNode As ITinNode _
)
public void QueryNode (
    int Index,
    ITinNode pNode
);

ITinAdvanced.QueryNodeAsPoint Method

Queries the point equal to that specified by the index.

Public Sub QueryNodeAsPoint ( _
    ByVal Index As Integer, _
    ByVal pPoint As IPoint _
)
public void QueryNodeAsPoint (
    int Index,
    IPoint pPoint
);

ITinAdvanced.QueryNodeAsWKSPointZ Method

Queries the point equal to that specified by the index.

Public Sub QueryNodeAsWKSPointZ ( _
    ByVal Index As Integer, _
    ByRef pPoint As WKSPointZ _
)
public void QueryNodeAsWKSPointZ (
    int Index,
    ref WKSPointZ pPoint
);

ITinAdvanced.QueryTriangle Method

The triangle equal to that referenced by the index.

Public Sub QueryTriangle ( _
    ByVal Index As Integer, _
    ByVal pTriangle As ITinTriangle _
)
public void QueryTriangle (
    int Index,
    ITinTriangle pTriangle
);

ITinAdvanced.QueryTriangleAsRing Method

The ring equal to the triangle referenced by the index.

Public Sub QueryTriangleAsRing ( _
    ByVal Index As Integer, _
    ByVal pRing As IRing _
)
public void QueryTriangleAsRing (
    int Index,
    IRing pRing
);

ITinAdvanced.QueryTriangleAsWKSPointZs Method

Queries the points equal to the nodes of the triangle referenced by the index.

Public Sub QueryTriangleAsWKSPointZs ( _
    ByVal Index As Integer, _
    ByRef pPi As WKSPointZ, _
    ByRef pPj As WKSPointZ, _
    ByRef pPk As WKSPointZ _
)
public void QueryTriangleAsWKSPointZs (
    int Index,
    ref WKSPointZ pPi,
    ref WKSPointZ pPj,
    ref WKSPointZ pPk
);

ITinAdvanced.SetEmpty Method

Uninitializes the TIN.

Public Sub SetEmpty ( _
)
public void SetEmpty (
);

Description

Brings the Tin object to the state that exists immediately after it is CoCreated (i.e. with 'New'). It references no dataset on disk, has no triangles, etc.

ITinAdvanced.SuperNodeExtent Property

The full extent of the TIN based on the super nodes.

Public ReadOnly Property SuperNodeExtent As IEnvelope
public IEnvelope SuperNodeExtent {get;}

Description

When a TIN is initially constructed (with ITinEdit.InitNew) it contains four software generated points that reside far outside the declared data extent. These are connected into two triangles and this initial triangulation is what the user adds data to. The four software generated points are referred to as SuperNodes. The SuperNodeExtent is the minimum bounding rectangle that surrounds these points.

ITinAdvanced.Surface Property

The ISurface interface (convenient tool for chaining in VB).

Public ReadOnly Property Surface As ISurface
public ISurface Surface {get;}

Description

This returns the ISurface interface. You can always get the ISurface interface from the Tin object, but this method enables you to avoid having to declare and set an ISurface interface pointer.

ITinAdvanced.TrackCancel Property

The process cancellation on TIN methods.

Public Property TrackCancel As ITrackCancel
public ITrackCancel TrackCancel {get; set;}

Description

Having cancel tracking enabled lets you halt processes through use of the escape key. The following TIN processes support this:

ITinAdvanced.ConvertToPolygonsISurface.AsPolygonsISurface.ContourISurface.ContourListISurface.GetProjectedAreaISurface.GetSurfaceAreaISurface.GetVolumeISurface.QueryPixelBlockITinEdit.AddFromFeatureClassITinEdit.AddFromFeatureCursorITinEdit.AddFromPixelBlockITinNodeCollection.ConvertToVoronoiRegions

ITinAdvanced.TriangleCount Property

The total number of triangles in the TIN.

Public ReadOnly Property TriangleCount As Integer
public int TriangleCount {get;}

ITinAdvanced.UniqueTagValueCount Property

The number of unique tag values for the specified element type.

Public Function get_UniqueTagValueCount ( _
    ByVal Type As esriTinElementType _
) As Integer
public int get_UniqueTagValueCount (
    esriTinElementType Type
);

Inherited Interfaces

Interfaces Description
ITin Provides access to members that control TINs.

Classes that implement ITinAdvanced

Classes Description
Tin The Esri TIN component.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.