This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IL > ILinePolygonHelper Interface > ILinePolygonHelper.Triangulate Method (ArcObjects .NET 10.4 SDK) |
Triangulates polygon. Non-linear curves are not allowed in the polygon rings. Accepts non-simple polygons also.
[Visual Basic .NET] Public Function Triangulate ( _ ByVal pPolygon As IPolygon, _ ByRef ppMultiPatch As IMultiPatch _ ) As Boolean
[C#] public bool Triangulate ( IPolygon pPolygon, ref IMultiPatch ppMultiPatch );
[C++]
HRESULT Triangulate(
IPolygon* pPolygon,
IMultiPatch** ppMultiPatch,
VARIANT_BOOL* pbOK
);
[C++]
Parameters pPolygon [in]
pPolygon is a parameter of type IPolygon ppMultiPatch [in, out]
ppMultiPatch is a parameter of type IMultiPatch pbOK [out, retval] pbOK is a parameter of type VARIANT_BOOL
Converts the interior of a Polygon into a bag of triangles, and then populates the specified MultiPatch with these triangles.