ArcObjects Library Reference (GeoDatabase)  

ITinNodeCollection.GetVoronoiRegion Method

Returns a Voronoi polygon about the node referenced by the index.

[Visual Basic .NET]
Public Function GetVoronoiRegion ( _
    ByVal nodeIndex As Integer, _
    ByVal pClippingPolygon As IPolygon _
) As IPolygon
[C#]
public IPolygon GetVoronoiRegion (
    int nodeIndex,
    IPolygon pClippingPolygon
);
[C++]
HRESULT GetVoronoiRegion(
  long nodeIndex,
  IPolygon* pClippingPolygon,
  IPolygon** ppRegion
);
[C++]

Parameters

nodeIndex [in]   nodeIndex is a parameter of type long pClippingPolygon [in]

  pClippingPolygon is a parameter of type IPolygon

ppRegion [out, retval]

  ppRegion is a parameter of type IPolygon

Product Availability

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

Description

The Voronoi region (also known as Thiessen or proximal polygon) that is returned encloses an area that is closer to the source node than to any other node in the triangulation.

'Nothing' (a null pointer) can be passed as the clip polygon. In this case, a default rectangle will be used to clip the voronoi region. The rectangle is set to be somewhat larger than the FullExtent of the TIN.

GetVoronoiRegion used on a super node will return Nothing (a null pointer). Super nodes are added by the software when the TIN is initially created and reside far outside the declared data extent.

If you wish to process the entire TIN and write the output to a feature class consider ITinNodeCollection.ConvertToVoronoiRegions.

See Also

ITinNodeCollection Interface