Checks if a polygon/polyline vertex can be deleted without creating spatial conflict.
[Visual Basic .NET] Public Function CanDeleteVertex ( _ ByVal pNode As ITinNode, _ ByVal pSeed As ITinFeatureSeed, _ ByVal spacing As Double _ ) As Boolean
[C#] public bool CanDeleteVertex ( ITinNode pNode, ITinFeatureSeed pSeed, double spacing );
[C++]
HRESULT CanDeleteVertex(
ITinNode* pNode,
ITinFeatureSeed* pSeed,
double spacing,
VARIANT_BOOL* pbCanDelete
);
[C++]Parameters
pNode [in]pNode is a parameter of type ITinNode
pSeed [in]pSeed is a parameter of type ITinFeatureSeed
spacing [in] spacing is a parameter of type double pbCanDelete [out, retval] pbCanDelete is a parameter of type VARIANT_BOOL
Product Availability
Description
Determines if the vertex (node) of a TIN feature can be removed without creating a conflict.
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.
A conflict results if any TIN features are within the specified spacing of the proposed geometry. This includes distance to feature edges as well as nodes.
A conflict also results of the feature would self-intersect as a result of the removal.
Nodes with a source type of esriTinDensified are excluded from the geometry of the TIN feature that's under consideration. See ITinNode2.Source or ITinAdvanced2.GetNodeSource.
The ITinFeatureEdit.ElementsIgnoredInConflictTest setting determines what, if any, TIN elements are excluded from the conflict test.