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

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

ITinSurface.GetSurfaceElement Method

Returns the surface element at the specified location.

[Visual Basic .NET]
Public Function GetSurfaceElement ( _
    ByVal pPoint As IPoint _
) As ITinSurfaceElement
public ITinSurfaceElement GetSurfaceElement (
    IPoint pPoint
HRESULT GetSurfaceElement(
  IPoint* pPoint
pPoint [in]

pPoint is a parameter of type IPoint*

Product Availability

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


A surface element contains information about the TIN and the surface it defines specific to a given point position. It maintains the surface attributes of elevation, slope, and aspect, as well as the the index and tag value of the containing triangle, and the index and tag value of the closest node in the containing triangle.

The element is constructed from the triangle containing the query point. If the query point falls on a triangle edge, one of the triangles on either side is picked randomly by the software.  If the query point falls on a TIN node the triangle used is picked randomnly from those incident to the node.

A Nil pointer (nothing) is returned when the query point falls outside the interpolation zone.

See Also

ITinSurface Interface