ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.Merge Method

Merges two embedded polygons sharing the specified common edge.

[Visual Basic .NET]
Public Sub Merge ( _
    ByVal pCommonEdge As ITinEdge, _
    ByVal newValue As Integer, _
    ByVal bKeepCommonNodes As Boolean _
)
[C#]
public void Merge (
    ITinEdge pCommonEdge,
    int newValue,
    bool bKeepCommonNodes
);
[C++]
HRESULT Merge(
  ITinEdge* pCommonEdge,
  long newValue,
  VARIANT_BOOL bKeepCommonNodes
);
[C++]

Parameters

pCommonEdge [in]

  pCommonEdge is a parameter of type ITinEdge

newValue [in]   newValue is a parameter of type long bKeepCommonNodes [in]   bKeepCommonNodes is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Merges two adjacent TIN polygon features by unenforcing their shared edges and assigning one tag value to all constituent triangles.

The passed edge should separate the two polygons in question.

The new value is the tag that will be assigned to all constituent triangles of the resulting merged polygon.

When choosing to keep the common nodes the node structure of the TIN remains unchanged. The only things modified are edge enforcement and triangle tag values. Otherwise, the nodes, and edges associated with them, will be deleted.

The TIN must be in edit mode. See ITinEdit.StartEditing or ITinFeatureEdit.StartInMemoryEditing.

See Also

ITinFeatureEdit Interface