ArcObjects Library Reference (GeoDatabase)  

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