ArcObjects Library Reference (GeoDatabase)  

ITinNode.GetVoronoiRegion Method

Returns the Voronoi-polygon region of the specified node.

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

Parameters

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

ITinNode Interface