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


ITinFeatureEdit.CanMoveVertex Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.CanMoveVertex Method
ArcGIS Developer Help

ITinFeatureEdit.CanMoveVertex Method

Checks if a polygon/polyline vertex can be moved to a new location without creating spatial conflict.

[Visual Basic .NET]
Public Function CanMoveVertex ( _
    ByVal pNode As ITinNode, _
    ByVal pSeed As ITinFeatureSeed, _
    ByRef pNewLocation As WKSPoint, _
    ByVal spacing As Double _
) As Boolean
[C#]
public bool CanMoveVertex (
    ITinNode pNode,
    ITinFeatureSeed pSeed,
    ref WKSPoint pNewLocation,
    ref double spacing
);
[C++]
HRESULT CanMoveVertex(
  ITinNode* pNode,
  ITinFeatureSeed* pSeed,
  WKSPoint* pNewLocation,
  double spacing
);
[C++]
Parameters
pNode [in]

pNode is a parameter of type ITinNode* pSeed [in]
pSeed is a parameter of type ITinFeatureSeed* pNewLocation [in]
pNewLocation is a parameter of type WKSPoint* spacing [in]
spacing is a parameter of type double

Product Availability

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

Description

Determines if the vertex (node) of a TIN feature can be moved 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 moved 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 move.

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.

See Also

ITinFeatureEdit Interface