This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinEdit Interface > ITinEdit.AddPointZ Method (ArcObjects .NET 10.4 SDK) |
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
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.