ArcObjects Library Reference (Geometry)  

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

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