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


ILinePolygonHelper.Triangulate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IL > ILinePolygonHelper Interface > ILinePolygonHelper.Triangulate Method
ArcGIS Developer Help

ILinePolygonHelper.Triangulate Method

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**

Product Availability

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

Description

Converts the interior of a Polygon into a bag of triangles, and then populates the specified MultiPatch with these triangles.

[C#]













 

 

See Also

ILinePolygonHelper Interface