This document is archived and information here might be outdated. Recommended version. |
Moves the specified vertex of an embedded polygon/polyline to a new location.
[Visual Basic .NET] Public Sub MoveVertex ( _ ByVal pNode As ITinNode, _ ByVal pSeed As ITinFeatureSeed, _ ByRef pNewLocation As WKSPoint, _ ByVal bGetNewZ As Boolean _ )
[C#] public void MoveVertex ( ITinNode pNode, ITinFeatureSeed pSeed, ref WKSPoint pNewLocation, ref bool bGetNewZ );
[C++]
HRESULT MoveVertex(
ITinNode* pNode,
ITinFeatureSeed* pSeed,
WKSPoint* pNewLocation,
VARIANT_BOOL bGetNewZ
);
[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* bGetNewZ [in]
bGetNewZ is a parameter of type bool
Moves the specified vertex (node) of a 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.