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


ITinFeatureEdit.AddPolygonZ Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.AddPolygonZ Method

Adds Z-aware polygon. pSeed can be NULL or Nothing.

[Visual Basic .NET]
Public Sub AddPolygonZ ( _
    ByVal pShape As IPolygon, _
    ByVal Type As esriTinEdgeType, _
    ByVal TagValue As Integer, _
    ByVal edgeTagValue As Integer, _
    ByVal NodeTagValue As Integer, _
    ByVal pSeed As ITinTriangle _
)
[C#]
public void AddPolygonZ (
    IPolygon pShape,
    esriTinEdgeType Type,
    int TagValue,
    int edgeTagValue,
    int NodeTagValue,
    ITinTriangle pSeed
);
[C++]
HRESULT AddPolygonZ(
  IPolygon* pShape,
  esriTinEdgeType Type,
  long TagValue,
  long edgeTagValue,
  long NodeTagValue,
  ITinTriangle* pSeed
);
[C++]

Parameters pShape [in]
pShape is a parameter of type IPolygon Type [in]
Type is a parameter of type esriTinEdgeType TagValue [in] TagValue is a parameter of type long edgeTagValue [in] edgeTagValue is a parameter of type long NodeTagValue [in] NodeTagValue is a parameter of type long pSeed
pSeed is a parameter of type ITinTriangle

Product Availability

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

Description

The Shape, a 3D polygon object, represents the input geometry to be added.

The Type indicates how the resulting edges of the embedded polygon will be coded. Supported edge types are esriTinHardEdge, esriTinRegularEdge, and esriTinSoftEdge.

The TagValue is a signed, non-zero, long integer that will be assigned to the triangles inside the embedded polygon.

The edgeTagValue is a signed long integer that will be assigned to the embedded polygon edges. A zero can be used to ignore edge tag value assignment.

The NodeTagValue is a signed long integer that will be assigned to the embedded polygon nodes. A zero can be used to ignore node tag value assignment.

The Seed is a TinTriangle pointer. If you're interested in obtaining a seed that can be used as a handle to the added polygon then have the seed point to a TinTriangle object. The object will then be populated with the appropriate properties. If you're not interested in obtaining a seed then pass a NULL pointer ('Nothing' in VisualBasic).

See Also

ITinFeatureEdit Interface