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


ITinEdit.AddPointZ Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinEdit.AddPointZ Method

Adds a 3D point to the TIN.

[Visual Basic .NET]
Public Function AddPointZ ( _
    ByVal pPoint As IPoint, _
    ByVal TagValue As Integer _
) As Integer
[C#]
public int AddPointZ (
    IPoint pPoint,
    int TagValue
);
[C++]
HRESULT AddPointZ(
  IPoint* pPoint,
  long TagValue,
  long* pNodeIndex
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint TagValue [in] TagValue is a parameter of type long pNodeIndex [out, retval] pNodeIndex is a parameter of type long

Product Availability

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

Description

Use 0 for the tag value if you're not interested in it.

The index returned will be one larger than the previous node count 
if the point is succesfully added. It will be equal to the value of an existing node if snapped to it.

This function should not be called if the geometry IsEmpty.

See Also

ITinEdit Interface

.NET Samples

3D multipatch examples (Code Files: ExtrusionExamples)