This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.Move Method (ArcObjects .NET 10.4 SDK) |
Moves the embedded point/polygon/polyline represented by the specified seed.
[Visual Basic .NET] Public Sub Move ( _ ByVal pSeed As ITinFeatureSeed, _ ByVal dx As Double, _ ByVal dy As Double, _ ByVal bGetNewZ As Boolean _ )
[C#] public void Move ( ITinFeatureSeed pSeed, double dx, double dy, bool bGetNewZ );
[C++]
HRESULT Move(
ITinFeatureSeed* pSeed,
double dx,
double dy,
VARIANT_BOOL bGetNewZ
);
[C++]
Parameters pSeed [in]
pSeed is a parameter of type ITinFeatureSeed dx [in] dx is a parameter of type double dy [in] dy is a parameter of type double bGetNewZ [in] bGetNewZ is a parameter of type VARIANT_BOOL
Moves the specified 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 seed will be modified, if necessary, to properly reference the moved feature.
The new position of the TIN feature is defined by adding dx and dy to each vertex.
The GetNewZ argument, if set to TRUE, means the feature is removed, heights are interpolated for its new position from the surface (this may add vertices to capture surface detail), then it is added back in.
The TIN must be in edit mode. See ITinEdit.StartEditing and ITinFeatureEdit.StartInMemoryEditing.