This document is archived and information here might be outdated. Recommended version. |
Deletes the embedded point/polygon/polyline represented by the specified seed.
[Visual Basic .NET] Public Sub Delete ( _ ByVal pSeed As ITinFeatureSeed _ )
[C#] public void Delete ( ITinFeatureSeed pSeed );
[C++]
HRESULT Delete(
ITinFeatureSeed* pSeed
);
[C++]
Parameters pSeed [in]
pSeed is a parameter of type ITinFeatureSeed*
Removes the point, polyline, or polygon feature from the TIN by deleting its vertices (nodes) from the triangulation. Only when a feature's vertices are shared with another feature are they maintained in order to preserve the definition of the other feature's geometry.
The TIN feature is defined by the passed seed . If the seed is a node the feature is a point. 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 TIN must be in edit mode. See ITinEdit.StartEditing and ITinFeatureEdit.StartInMemoryEditing