This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters pPolygon [in]
pPolygon is a parameter of type IPolygon* ppMultiPatch [in, out]
ppMultiPatch is a parameter of type IMultiPatch**
Converts the interior of a Polygon into a bag of triangles, and then populates the specified MultiPatch with these triangles.