This document is archived and information here might be outdated.  Recommended version.


ITinFeatureEdit.DeleteVertex Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.DeleteVertex Method

Deletes the specified vertex from an embedded polygon/polyline.

[Visual Basic .NET]
Public Sub DeleteVertex ( _
    ByVal pNode As ITinNode, _
    ByVal pSeed As ITinFeatureSeed _
)
[C#]
public void DeleteVertex (
    ITinNode pNode,
    ITinFeatureSeed pSeed
);
[C++]
HRESULT DeleteVertex(
  ITinNode* pNode,
  ITinFeatureSeed* pSeed
);
[C++]

Parameters pNode [in]
pNode is a parameter of type ITinNode pSeed [in]
pSeed is a parameter of type ITinFeatureSeed

Product Availability

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

Description

Deletes the specified vertex (node) of  TIN polyline or polygon feature.

The TIN feature is defined by the passed seed. If the seed is a triangle the feature is a polygon whose area is represented by the set of contiguous triangles with the same tag value. If the seed is an edge the feature is a polyline comprised of all unambiguously connected edges with the same tag value or edge type. The ITinFeatureSeed.UseTagValue property is used to determine whether the edge seed is defined by its tag or edge type.

The vertex (node) to be deleted is specified as an input argument. It must be a vertex belonging to the TIN feature defined by the input seed.

The seed will be modified, if necessary, to properly reference the edited feature.

The TIN must be in edit mode. See ITinEdit.StartEditing and ITinFeatureEdit.StartInMemoryEditing.

See Also

ITinFeatureEdit Interface