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


ITinAdvanced2.QueryElementAsGeometry Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.QueryElementAsGeometry Method
ArcGIS Developer Help

ITinAdvanced2.QueryElementAsGeometry Method

Output the specified TIN element as Geometry object.

[Visual Basic .NET]
Public Sub QueryElementAsGeometry ( _
    ByVal Type As esriTinElementType, _
    ByVal Index As Integer, _
    ByVal pGeometry As IGeometry _
)
[C#]
public void QueryElementAsGeometry (
    esriTinElementType Type,
    int Index,
    IGeometry pGeometry
);
[C++]
HRESULT QueryElementAsGeometry(
  esriTinElementType Type,
  long Index,
  IGeometry* pGeometry
);
[C++]
Parameters
Type [in]

Type is a parameter of type esriTinElementType Index [in]
Index is a parameter of type long pGeometry
pGeometry is a parameter of type IGeometry*

Product Availability

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

Description

Returns the specified TIN element as the type of geometry object that's passed.

The passed geometry object must already be instantiated.

Node elements can be returned as points.

Edge elements can be returned as multipoints, lines, paths, and polylines.

Triangle elements can be returned as multipoints, paths, rings, polylines, and polygons.

See Also

ITinAdvanced2 Interface