This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinPolygon Interface > ITinPolygon.AsPolygon Method (ArcObjects .NET 10.5 SDK) |
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
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.