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


ITinPolygon.AsPolygon Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinPolygon.AsPolygon Method

The specified polygon as polygon geometry.

[Visual Basic .NET]
Public Function AsPolygon ( _
    ByVal pNodeFilter As ITinFilter, _
    ByVal bGetZ As Boolean _
) As IPolygon
[C#]
public IPolygon AsPolygon (
    ITinFilter pNodeFilter,
    bool bGetZ
);
[C++]
HRESULT AsPolygon(
  ITinFilter* pNodeFilter,
  VARIANT_BOOL bGetZ,
  IPolygon** ppPolygon
);
[C++]

Parameters pNodeFilter [in]
pNodeFilter is a parameter of type ITinFilter bGetZ [in] bGetZ is a parameter of type VARIANT_BOOL ppPolygon [out, retval]
ppPolygon is a parameter of type IPolygon

Product Availability

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

Description

The returned polygon has not been topologically simplified for the sake of performance. For example, you may just want to draw the polygon. Drawing doesn't require simplification. If you'll be performing topological operations on the polygon you will need to call ITopologicalOperator.Simplify.

The filter argument can be NULL ('Nothing' in VB) if no filtering is desired.

See Also

ITinPolygon Interface